Topic: Components with Hooks
Will there be any components that will use hooks instead of class-based components? I see the latest react version is 16.12 but some of the components are still using class-based components
Open
- User: Pro
- Premium support: No
- Technology: React
- MDB Version: 4.25.2
- Device: Macbook Pro 13
- Browser: Chrome
- OS: Catalina
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented a year ago
We don't have plans to re-write components to hooks. Class-based components are still available with version 16.12+. React doesn't have plans (yet) to abandon a class-based component in the future. Class-based components probably will be available in normal use in the React v.17