5 Ways to Convert React Class Components to Functional Components w/ React Hooks

added by JavaScript Kicks
11/19/2018 6:50:28 PM

578 Views

In the latest alpha release of React, a new concept was introduced, it is called Hooks. Hooks were introduced to React to solve many problems as explained in the introduction to Hooks session however, it primarily serves as an alternative for classes. With Hooks, we can create functional components that uses state and lifecycle methods.


0 comments