Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Error: Invalid hook call

surya@learningturf.com 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 https://fb.me/react-invalid-hook-call 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?


surya@learningturf.com free commented 3 years ago

The issue is with he calendar plugin


surya@learningturf.com free commented 3 years ago

This issue has been resolved by running npm dedupe command



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

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