Incompatible with React 16 beta
See original GitHub issueThe following error crashes the app when using React 16 beta.
React caught an error thrown by Provider. You should fix this error in your code. Consider adding an error boundary to your tree to customize error handling behavior. See https://fb.me/react-error-boundaries for more information.
Error: null
The error is located at:
in Provider
The error was thrown at:
Other error messages that might be relevant:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
invariant.js?c115:44 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
By removing react-redux or downgrading to React 15.x it works correctly.
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (20 by maintainers)
Top Results From Across the Web
React / React-DOM package dependency conflict
I think you are using the latest Beta release of npm v7. It's mentioned in the Error message as well. npm ERR! Fix...
Read more >React v16.13.0 – React Blog
Today we are releasing React 16.13.0. It contains bugfixes and new deprecation warnings to help prepare for a future major release.
Read more >9.0.0-beta.1: Incompatible types/"Type […] is not assignable ...
There appears to be a bug in the TypeScript typings for version 9.0.0-beta.1 that causes the type coming out of useSpring() to be...
Read more >7 things about React 16 your team should know - Pusher Blog
1. React 16 is backwards compatible. Unlike the rewrite of Angular.js, for example, React 16 maintains the exact same public API as in...
Read more >Xcode unsupported iOS version afte… - Apple Developer
Hello everyone, after I've updated my iPhone to iOS beta version 14.5 , Xcode cannot run my app. My Xcode is updated to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
in case it helps anyone in the future, i just upgraded to react 16 and was using react-redux, react-router and react-router-redux and getting the same error. i had to use the @next version of react-router-redux to resolve it.
We really should have this thread on the
react
repo.