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

Compatibility with React 16 #158

Open
Osmosis311 opened this issue May 1, 2019 · 2 comments
Open

Compatibility with React 16 #158

Osmosis311 opened this issue May 1, 2019 · 2 comments

Comments

@Osmosis311
Copy link

Since React has deprecated PropTypes, are there any plans to upgrade Fluxxor to use the new paradigm? Would love to continue using it, just getting tons of errors related to PropTypes.

I'd be happy to give it a shot, not sure how successful I'll be.

Thanks!

@deepakmanjunath
Copy link

deepakmanjunath commented May 16, 2019

Hi,
Any ETA on upgrading Fluxxor to be compatible with react 16.We have bunch of applications we need to upgrade and are currently blocked by this issue.
Thanks!

@deepakmanjunath
Copy link

deepakmanjunath commented May 22, 2019

Found a workaround for this while awaiting a fix.

var PropTypes = require('prop-types');
React.PropTypes = PropTypes;

Using the above code in the component or at an appropriate level in the architecture enables us to use fluxxor with React 16.

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

2 participants