Topic: Components with Hooks

TeddyS31 pro asked 4 years ago


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


Piotr Glejzer staff commented 4 years 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



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.25.2
  • Device: Macbook Pro 13
  • Browser: Chrome
  • OS: Catalina
  • Provided sample code: No
  • Provided link: No