Skip to content
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

Undefined is not a function #77

Closed
anish000kumar opened this issue Jan 19, 2018 · 3 comments
Closed

Undefined is not a function #77

anish000kumar opened this issue Jan 19, 2018 · 3 comments

Comments

@anish000kumar
Copy link

anish000kumar commented Jan 19, 2018

image

Getting this issue in a react-native project on android only. on iOS the app runs fine
immer@0.8.3

@mweststrate
Copy link
Collaborator

Argh yes, RN on android polyfills nothing. As quick fix: make sure you polyfill Object.is, will probably include a polyfill in the package soon

@mweststrate
Copy link
Collaborator

Added polyfill in the package, should be fixed by 0.8.4. Please reopen if this isn't the case. I think everything the package uses is now polyfilled on old javascript engines

@anish000kumar
Copy link
Author

@mweststrate thanks! Everything works well now, on ios as well as android!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants