Topic: Error: Invalid hook call.
Hi,
Am getting a Invalid hook call when trying to load a few components such as MDBNavbarNav, MDBNavItem, MDBBtn etc.,
Is there any specific update I need to do? Currently in my package.json, am using it as "mdbreact": "git+https://XXXXXXXXXXXXXX@git.mdbootstrap.com/mdb/react/re-pro.git"
My react versions below:
"react": "^16.12.0", "react-dom": "^16.12.0",
Open
- User: Pro
- Premium support: Yes
- Technology: React
- MDB Version: 5.0.1
- Device: Laptop
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 3 months ago
Did you try to use the latest version of React? MDBReact 5.0.0+ is using React 17+.