MSC free asked 3 years ago


After updated MDBReact Pro with OAUTHKey, when we use navlink, we get error as below:

Invariant failed: You should not use outside a

Before update there aren`t any error in our project.

Please help us for the solution.

Konrad Stępień staff answered 3 years ago

Hi @MSC,

Can you tell me what is your previous version of MDB?

Best regards, Konrad.

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

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.21.0
  • Device: Web
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No