After a long time trying to figure out how hooks work, you finally understand that nobody gets the full picture. You’ve seen several ‘How-to-use-react-hooks’ articles, but they all contradict each other, and you still can’t see the big picture.
You feel like something is wrong in your head – like you need to go to a hardware shop and buy bigger RAM or maybe just simpler plugs.
Learn more about the different ways you can use hooks to take your React application development experience to the next level. This new way of writing React components will make your code cleaner and more comfortable to test!
What will I find in the book?The course contains 14 lessons, each divided into small sub-lessons, from the basics to solving tricky problems.
Here is the book’s table of
1. Store a local state with useState
2. Trigger side effects with useEffect
3. Custom hooks and classic async pattern
4. What are hooks anyway?
5. Debugging hooks
6. Get the current state when dealing with async code
7. Solving infinite loops when using useEffect
8. Optimizing performance with useMemo and useCallback
9. Debouncing a user input
10. Using contexts to share values between components
11. Simplify state update logic with reducers
12. Custom hooks to use the browser’s APIs
13. From render-props and high-order components to hooks
Sébastien Castiel est ingénieur et développeur depuis près de dix ans. Spécialisé dans le web et le front-end, il aime particulièrement JavaScript ainsi que React. Toujours avec l’envie d’apprendre et de partager ses connaissances, c’est naturellement qu’il a décidé de consacrer son deuxième livre à React.