-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-jsx example no longer works when updating to React 18 #928
Comments
Ran into a similar problem with the react-tsx example as well. Had a minimal test case using https://github.com/modernweb-dev/example-projects/tree/master/react-tsx
|
I found a CDN that provides an ES Build of react 18.2. By replacing the imports in every file the tests and demo ran in the react-tsx example.
Useful as a demo, but maybe won't give Typescript support when importing via the cdn. |
Update the dependencies to React v18 and the
react-jsx
example no longer works. When the process runs, the generated page is blank and console returns the following error:Not sure if this issue originates with esbuild or modernweb-dev but it is not documented and is reproducible with any project running React v18.
The text was updated successfully, but these errors were encountered: