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

The version of react is too old for UI Fabric. #77

Open
MasterOrMonster opened this issue Sep 3, 2019 · 1 comment
Open

The version of react is too old for UI Fabric. #77

MasterOrMonster opened this issue Sep 3, 2019 · 1 comment

Comments

@MasterOrMonster
Copy link

The ver of react is just 16.2.0. It's too old for UI Fabric which is based on 16.8.0.

@ikatun
Copy link

ikatun commented Jul 4, 2020

Just open your package.json and add "postinstall": "npx flatten-dependencies react react-dom" to your "scripts", and then run npm run postinstall or npm install.

That will force the library to use the version of React defined by your project.

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