Is MDB Components compitible with React Hooks?


Topic: Is MDB Components compitible with React Hooks?

cokicoki asked 5 years ago

Hi,

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 5 years 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 commented 5 years ago

Thank you Kuba.


Hi @Jakub Chmura , ok a year ago but now, is an update including "hooks" now planned ? Thanks


Piotr Glejzer staff commented 4 years ago

We will not rewrite components in mdbreact 4 to hook's. Hooks ale alternative to class components and a both are correctly way to use in React.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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