Topic: How to upgrade to latest React version
Kinexis priority asked 6 years ago
I'm using React Pro and am using the "package.json / dependencies / mdbreact" method of binding to the MDB React. I've seen the notices of the new MDB React version. How to I upgrade to it?
There's an FAQ that implies I need to re-run CRA and create a whole new app. Am I reading that right? Or is there a way to upgrade in place?
Thanks
Add comment
Jakub Mandra staff answered 6 years ago
Hey,
If you're using mdbreact as a dependency from gitlab, all you need to to do is to run npm install or yarn.
But to make sure that there is no old version you could do this:
- remove mdbreact dependency from package.json
- run npm iinstall or yarn
- bring back mdbreact dependency
- run npm install or yarn
- done
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: 4.7.0
- Device: MacBookPro
- Browser: Chrome
- OS: Mac OS Mojave
- Provided sample code: No
- Provided link: No
Tags