Expected behavior MDB pro with nextjs
Actual behavior Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
Resources (screenshots, code snippets etc.) This link is not for pro version and neither working with free version: https://mdbootstrap.com/articles/react/materialize-your-next-js-project-with-mdbootstrap-for-react/
Repo is ok!.
The error occurs when starting the application.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.25.3
- Device: Notebook
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes