Open cmdcolin opened 2 years ago
I had a tsconfig in react-msaview that said
https://www.typescriptlang.org/docs/handbook/jsx.html
jsx:"react-jsx"
This outputted code using the "new jsx transform" from react
https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
changing to jsx:"react"
worked
The error message from when it wasn't working is
Error: 'jsx' is not exported by node_modules/react/jsx-runtime.js, imported by node_modules/react-msaview/dist/components/ImportForm.js at /home/cdiesh/src/jbrowse-plugin-msaview/node_modules/react-msaview/dist/components/ImportForm.js:12:9
not really a high priority, just notable as some libraries may output this by default more perhaps
I had a tsconfig in react-msaview that said
https://www.typescriptlang.org/docs/handbook/jsx.html
jsx:"react-jsx"
This outputted code using the "new jsx transform" from react
https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
changing to jsx:"react"
worked
The error message from when it wasn't working is