-
Notifications
You must be signed in to change notification settings - Fork 889
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
The library is not working with IE10 , v0.12.1 , but v0.11.7 is fine #215
Comments
Apparently IE <= 10 does not support proto so IE <= 10 isn't be supported by React-Leaflet from v0.12 |
Or you can add babel-polyfill to the dependencies. |
If it works with babel-polyfill, why don't you add it to your app? |
Well, the thing is I have it and it still doesn't work. Anyways I don't think adding babel-polyfill will help in this case, it's something else. |
This is the reason it doesn't work in IE <= 10: https://babeljs.io/docs/usage/caveats/ |
Version 2.0 work in IE >= 9 with https://www.npmjs.com/package/proto-polyfill |
Looks like the changes in v.0.12.0 moving from props to context broke it on IE10.
It works fine with v0.11.7
The map is not initialized
The error message is :
ReactCompositeComponent.getChildContext(): childContextTypes must be defined in order to use getChildContext().
You can run the react-leaflet examples locally and see that none are working .
Not sure why the thing is not working. Babel should properly transpile from the ES7 static childContextTypes
The text was updated successfully, but these errors were encountered: