Outline

Here's what you have learned about custom hooks:

✅ How to simply code with useState

✅ How useEffect takes on the complexities of lifecycle management, dependencies, and memoization, as well as handling asychronous events

✅ The why and how of React hooks to get a better grasp on where hooks fit in to the React library and what JavaScript techniques they use

✅ How to build custom hooks

✅ How to handle specific functionality, both synchronous and asynchronous with ease. By doing so, you kept your components free of complex logic because you had a simple API instead.

You can now simplify and reuse more of your code in the form of hooks, making things easier to read and more modular. You can also better implement functional programming techniques and write more predictable code :)

 

I finished! On to the next chapter