Uh oh!
There was an error while loading. Please reload this page.
Update compilerOptions.jsx to reflect latest preferences - #2994
Conversation
Jake Bailey (jakebailey)
commented
Dec 9, 2023
The default in TS is undefined, so I'm not sure there's an actual code change needed there besides potentially changing a diagnostic to suggestion one choice over another. (Additionally, other runtimes than React I believe still use that setting so I doubt it's going to be deprecated in TS) |
Jake Bailey (jakebailey)
commented
Dec 9, 2023
Are the discussions for this somewhere that can be linked? |
compilerOptions.jsx defaultcompilerOptions.jsx to reflect latest preferences
Yeah, I tried it on a fresh project and you need to specify a value. You can't just run |
| React 17 dev transform: `"react-jsxdev"`<sup>[[1]](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)</sup> | ||
| Legacy runtime: `"react"` |
There was a problem hiding this comment.
Make sure this is language we want to use.
Uh oh!
There was an error while loading. Please reload this page.
Jake Bailey (jakebailey)
commented
Jun 5, 2024
I think #3064 composes with this? |
This one is more focused and can land separately though, no? |
Jake Bailey (jakebailey)
commented
Jul 8, 2024
Close-reopening to verify CI after changes in the repo. |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://victorious-plant-05c166c10-2994.centralus.5.azurestaticapps.net |
react-jsxmakes the most sense as a default.Preview