-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Cannot read property 'changedBits' of undefined #12645
Comments
Thanks for the report @FredyC . @FredyC is it possible you still have an older version of React in your dependencies? I know this is a common issue with ReactDOM, not sure if it's common with RN. |
I am not sure that renaming I checked and I have only React 16.3.2 installed in a whole tree, no other version there. I will try updating to react-native 0.55 tomorrow, however that version was released before React 16.3, so it's unlikely there is a relevance. |
Sorry, I misread that part. You can see in your screenshot it tries to read |
I wouldn't expect |
Funny thing, it's actually working with |
It’s expected. The internal naming changed in 16.3.1. So some versions of RN will only work with earlier versions, and some will work only with later versions. Use peer dependency as a guidance 🙂 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Using the new Context API in React Native app ends up with an exception.
Unfortunately, I am unable to provide viable reproduction environment. I tried the CodeSandbox and Snack Expo and both are working just fine. This is happening in my React Native app running on my Android phone. Only thing I've got is this screenshot from the debugger.
Strangely enough if that code on line
8439
would readproviderFiber.type._context
then it would have been working correctly. Any chance there is a typo? :)Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
The text was updated successfully, but these errors were encountered: