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

Bluebird fails in the environment provided by react-native #550

Closed
aackerman opened this issue Mar 27, 2015 · 2 comments
Closed

Bluebird fails in the environment provided by react-native #550

aackerman opened this issue Mar 27, 2015 · 2 comments

Comments

@aackerman
Copy link

The react-native environment is neither node nor a browser, more like a raw vm context. I just wanted to bring it to the maintainers that this is an issue. facebook/react-native#335.

More specifically this line here. It appears that MutationObserver is available, but as I stated, the environment isn't a browser, and document.createElement throws an error.

@petkaantonov
Copy link
Owner

So the obvious question is what is the mutation observer supposed to observe?

@petkaantonov
Copy link
Owner

This has been fixed in facebook/react-native@18cb5d0

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