Skip to content

React Hooks: Migration Strategies

In 2019, the React team released the hooks API, which has replaced class components as the officially recommended way to build React applications. Many teams have not yet made the transition, but now is the time to start planning the switch. In this training, we will walk through the new hooks API, contrast it with the class components API, and explain the significance of the new approach. We’ll walk through examples of how to migrate different styles of class components to using hooks instead. Finally, we’ll explain how hooks can mostly replace Higher-Order Components and Render Props as the premier pattern for component composition in React.

Book today
1 Day - Introduction