-
-
Notifications
You must be signed in to change notification settings - Fork 185
Upgrade to React 17.0.x #664
Comments
@jackcmeyer could i take this one? |
Ok @riiniii |
@tehkapa is it ok to place this one on hold? reason: error: but we need to use --jsx to 'react-jsx' for react 17, and their workaround in the thread does not work for me |
alternatively, maybe if we don't even want to introduce jsx transform, then i can just update react versions in package.json without any other additional changes |
@jackcmeyer @blestab any clue? |
Thanks @riiniii |
hi @blestab, thank u for the suggestion. i tried that, but realized that I couldnt use 'preserve', 'react-native', or 'react' with typescript + react 17 transform. my findings were that for JSX Tranform and typescript to work together, tsconfig.compilerOptions.jsx needs to be 'react-jsx' or 'react-jsxdev' so generally everything passes until i run npm run build (tsdx build), which gives me this error to say my tsconfig options are not correct: if we do not decide to implement jsx transform, i can still update to react v17, and keep typescript version + tsconfig.compilerOptions.jsx = 'react', and things can pass that way. just that we will not support jsx transform yet. thoughts? |
this thread on how CRA implements React 17 + JSX Transform summarizes my findings / changes well |
🚀 Feature Proposal
Upgrade components library to react 17.0.x
The text was updated successfully, but these errors were encountered: