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.
Let's innovate together!
We're ready to be your trusted technical partners in your digital innovation journey.
Whether it's modernization or custom software solutions, our team of experts can guide you through best practices and how to build scalable, performant software that lasts.