The last two chapters covered debugging and styling React apps. In this chapter, we will continue learning React concepts from where we left off in Chapter 5. This chapter is about React Hooks. You already learned about Hooks from the previous chapters. We will dive deeper into Hooks in this chapter, and I can assure you it is going to be an interesting read. Hooks are the engine of modern React development.
We will begin by examining a class component’s lifecycle. After transforming it into a functional component, we will look at how ...