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

React 16: TypeError: Cannot read property 'bool' of undefined #116

Open
jgentes opened this issue Nov 6, 2017 · 2 comments
Open

React 16: TypeError: Cannot read property 'bool' of undefined #116

jgentes opened this issue Nov 6, 2017 · 2 comments

Comments

@jgentes
Copy link

jgentes commented Nov 6, 2017

React-toggle is broken with React 16 due to React changing how proptypes are imported:

https://reactjs.org/warnings/dont-call-proptypes.html

@willingham
Copy link

@aaronshaf Thanks for making this plugin. It's really great! Any plans on updating it for React 16?

@ekynoxe
Copy link

ekynoxe commented May 16, 2018

4.0.2 DOES work with react 16 with no warnings.

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

3 participants