-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
_processChildContext is not available in React 16+ #1868
Comments
There shouldn't be anything preventing React 16 from working. I wonder if you have 2 different versions of react installed? |
@mech that's weird, I followed the reproduction instructions and I don't get those errors even after opening some modals. Can you please upload the project you get to GitHub as a repo? |
You are right, I go to my 2nd laptop and try to use React 16.0.0-rc.3 with create-react-app and it worked fine. Sorry for that, I am surprised my main machine got issues. |
Hmm, I'm running into this too. Not sure why yet. |
Try making sure your yarn or NPM is latest version. When I upgrade my yarn from 0.x to 1.x, it works. |
In my case rebuilding the lock file from scratch helped - I removed node_modules together with yarn.lock file and re-installed all of the dependencies. Maybe it helps somebody. |
I have the same problem when I want to use to Modals from 'react-materialize'. And this project have all update. I really need this component. If you can help me, I will be thank |
Guys I had this issue and it's gone now after I upgraded my |
Also upgraded yarn, see storybookjs/storybook#1868
@Fowowski's fix worked for us! |
I had the same issue. It was caused by react-modal ( used by storybook). React-modal installed its own old version of react. Removing node_modules direcory from react-modal package solves the problem. |
Is the release candidate version of React 16 support on v3.3.0-alpha.0? Using React 16.0.0-rc.3, I am getting this react-modal error:
The text was updated successfully, but these errors were encountered: