© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. NaraynJust React!https://doi.org/10.1007/978-1-4842-8294-6_8

8. Hook into React

Hari Narayn1  
(1)
Melbourne, VIC, Australia
 

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 ...

Get Just React!: Learn React the React Way now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.