Topic: Error: Invalid hook call free asked 3 years ago

Expected behavior

Calander Should Render

Actual behavior Error: 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 for tips about how to debug and fix this problem.

Resources (screenshots, code snippets etc.) package.json

Piotr Glejzer staff commented 3 years ago

Do you have a problem with calendar plugin or component in pro version? free commented 3 years ago

The issue is with he calendar plugin free commented 3 years ago

This issue has been resolved by running npm dedupe command

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 5.0.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes