Is MDB Components compitible with React Hooks?


Topic: Is MDB Components compitible with React Hooks?

cokicoki pro premium asked 3 months ago


I will like to ask if MDB Components can be used with React Hooks? Or compatible with React Hooks to replace the state of MDB Components with useState/ useEffect? Kindly please advised! Thank you.

Jakub Chmura staff premium answered 3 months ago

Hi @cokicoki,

I saw many times on the support forum that our customers send us a code example with hooks, and I think it's possible and safe to use it.

Best, Kuba

cokicoki pro premium commented 3 months ago

Thank you Kuba.

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.24.0
  • Device: desktop
  • Browser: Mozilla Firefox
  • OS: MS Windows 7
  • Provided sample code: No
  • Provided link: No