-
Notifications
You must be signed in to change notification settings - Fork 100
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-lite doesn't throw errors if ReactLite is loaded twice on page #119
Comments
Did you use
Maybe webpack-bundle-analyzer can help:) |
no, my build just creates two bundles for one page and i didn't realize both of them had react bundled. this caused some really weird errors. react throws an error in this situation and react-lite doesn't. just fyi. |
i ran into an issue yesterday where my event handlers were all firing twice. took me long time to debug and i ended up having to revert react-lite. when i reverted, i got this error
i then was able to realize i had react-lite in 2 different bundles and then fixed my problem and went back to use react-lite.
would be nice to have this error in react-lite too. thoughts?
The text was updated successfully, but these errors were encountered: