-
Notifications
You must be signed in to change notification settings - Fork 748
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
React 16 support #14
Comments
@karanmartian can you elaborate more? It seems to be working with React 16 just fine. |
He may be talking about suppressing peer dependency warnings by updating this. |
@karanmartian @dadamssg we have updated this to support React 16. Can you confirm? |
Hi @adeelraza sorry for the late response, I have been busy. But even I install the latest version I am getting following error on the console. I am attaching my code. It was working fine with React 15 and still breaks with React 16. warning.js?d575:33 Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of Check the render method of component:
in div (created by AddMod) in div (created by AddMod) in div (created by AddMod) in AddMod (created by Connect(AddMod)) in Connect(AddMod) (created by RouterContext) in RouterContext (created by Router) in Router in Provider Consider adding an error boundary to your tree to customize error handling behavior. Check the render method of |
I have also just tried with your sample code in README, its giving same error - namely this: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. |
If this helps. I am on: "react": "^16.3.2" |
@karanmartian I am unable to reproduce this at my end. I tried with same package versions in a new create-react-app project. Can you try the following?
|
Hi React 16 support for this component is broken
The text was updated successfully, but these errors were encountered: