-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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-spring > 8.0.5 stopped working in IE 11 #552
Comments
The Common JS bundle should support IE11. Try updating your imports to
Or add a Webpack alias
Not entirely sure but |
Thanks, I also found a note in the docs about it! |
oye...not ideal to import the commonjs module :\ Also FWIW the |
@ammmze fwiw, we'll eventually split each platform into its own package so that the |
Note: In the latest beta, you can import the platform-specific package if you don't like adding import { useSpring } from '@react-spring/native' For the web platform, you can actually import import { useSpring } from 'react-spring' @Chetan-k Importing |
Unfortunately, the previous tricks don't work for me, my build is still broken for IE11. Only solution that I have found for now is to stick with 8.0.4... |
unfortunatly didnt work for me either. |
react-spring has a bug that breaks IE very very badly: pmndrs/react-spring#552, so downgrade to the version that doesn't have any issues. Also changed the webpack hot-reload mechanism.
I am getting Syntax error in console which points to this line, probably due to defining variables with

let
The text was updated successfully, but these errors were encountered: