Topic: Is MDB Components compitible with React Hooks?
cokicoki free asked 4 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.
Carole Barbier free answered 3 years ago
Hi @Jakub Chmura , ok a year ago but now, is an update including "hooks" now planned ? Thanks
Piotr Glejzer staff commented 3 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.
Jakub Chmura staff answered 4 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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