Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the refactoring of a real-world React application using hooks in this 30-minute conference talk by Marco Cedaro. Dive deep into the code of a busy stateful component, learning how to evolve the mental model of components and break the dichotomy between stateful class and stateless functional components. Discover the concept of React Hooks and their impact on writing React components and applications. Follow along as Cedaro demonstrates practical refactoring techniques, including the use of reducers, handling user interactions, managing URL changes, and creating generic components. Gain insights into testing strategies for hook-based components and understand how this new approach can streamline your React development process.
Syllabus
Introduction
Refactoring
Hooks
Reducer
User Fact
URL Changes
Generic Component
Testing
Taught by
React Conferences by GitNation