React Hooks in Action
technical book report
Why Did I Buy it?
For my day job I work mostly on Vue and Angular so I've really fallen behind on the latest in React. All that I have ever heard is that hooks were a really big deal.
I wanted to catch up quick to find out what all the fuss was about. Since this book is just about the hooks feature, it was the focused material that I was looking for.
Hooks let you access your application's state and React itself using just functions. This book walks you step-by-step, developing a scheduling app, to show you how to use hooks to simplify your React code.
React Hooks in Action $34 (paperback)
- React is evolving
- Managing component state with the useState hook
- Managing component state with the useReducer hook
- Working with side effects
- Managing component state with the useRef hook
- Managing application state
- Managing performance with useMemo
- Managing state with the Context API
- Creating your own hooks
- Using third party hooks
- Code splitting with Suspense
- Integrating data fetching with Suspense
- Experimenting with useTransition, useDeferredValue, and SuspenseList
Was it Worth the Money?
It covered the topic really well which is what you would expect for such a focused topic. Beyond that though instead of having goofy foo, bar, baz abstract examples it built on one app chapter-by-chapter. For me at least it was a really practical way to learn the different hooks and how you might actually use them in the wild. It was well organized and the quality of the diagrams and mockups were clear and simple.
Overall it is a really great resource for diving into hooks.
Really solid for a technical book that cost $35 at the time of this review.