{"product_id":"learn-react-hooks-second-daniel-bugl-9781836209171","title":"Learn React Hooks - Second Edition: Unlock scalable state, performance, and clean code with Hooks, Context, Suspense, and Form Actions","description":"\u003cp\u003e\u003cstrong\u003eGrasp the core concepts of React Hooks and enhance your development workflow with best practices and advanced patterns derived from modern React 19 features\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eKey Features: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e- Build custom Hooks to simplify complex logic and promote code reusability\u003c\/p\u003e\u003cp\u003e- Transform class components into modern, hook-based function components, and write robust tests\u003c\/p\u003e\u003cp\u003e- Build maintainable, production-ready UIs using React 19's declarative approach and ecosystem tools\u003c\/p\u003e\u003cp\u003e- Purchase of the print or Kindle book includes a free PDF eBook\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eBook Description: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eReact Hooks allow you to easily encapsulate, reuse, and refactor logic with the same level of simplicity that components bring to user interface organization.\u003c\/p\u003e\u003cp\u003eIn this second edition, React expert and author of many popular React books, Daniel Bugl guides you through the full spectrum of React Hooks, and teaches you how to handle forms, routing, and data fetching in modern React development. This edition is fully updated to React 19, with a revamped structure, expanded real-world use cases, and coverage of all newly introduced Hooks.\u003c\/p\u003e\u003cp\u003eStarting with the fundamentals, you'll gain a deep understanding of how Hooks work under the hood and how to apply Hooks patterns efficiently. The chapters guide you through using State, Reducer, and Effect Hooks to manage application state, side effects, and complex logic for building your first Hook-based app. You'll utilize Suspense and Context APIs for streamlined data fetching and state management, master Form Actions for handling submissions, and implement routing with Hooks. You'll also create custom Hooks for advanced functionality and write tests for reliability. Finally, you'll learn how to refactor an existing app with class components into modern Hooks architecture.\u003c\/p\u003e\u003cp\u003eBy the end of this React book, you'll be well-equipped to use React Hooks to modernize and optimize your React projects.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWhat You Will Learn: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e- Master and apply new React 19 Hooks, such as useActionState, useFormStatus, useOptimistic, and others\u003c\/p\u003e\u003cp\u003e- Use React Hooks and Context to manage state in your web applications\u003c\/p\u003e\u003cp\u003e- Efficiently fetch, update, and cache data using TanStack Query and Suspense\u003c\/p\u003e\u003cp\u003e- Manage user input and form submission using Form Actions with Hooks\u003c\/p\u003e\u003cp\u003e- Discover how to implement routing in your apps using React Router and Hooks\u003c\/p\u003e\u003cp\u003e- Create and test your own Hooks to encapsulate, reuse, and refactor logic in your apps\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWho this book is for: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eThis book is ideal for React developers looking to modernize their applications using React Hooks, Context, and Suspense. Beginners and experienced developers alike will gain a solid understanding of Hooks and their internal workings. If you're familiar with React and JavaScript, this book will help you upskill by teaching you best practices, performance optimization, and scalable application building. No prior experience with Hooks is required-this book covers everything from fundamentals to advanced patterns.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eTable of Contents\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e- Introducing React and React Hooks\u003c\/p\u003e\u003cp\u003e- Using the State Hook\u003c\/p\u003e\u003cp\u003e- Writing Your First Application with React Hooks\u003c\/p\u003e\u003cp\u003e- Using the Reducer and Effect Hooks\u003c\/p\u003e\u003cp\u003e- Implementing React Contexts\u003c\/p\u003e\u003cp\u003e- Using Hooks and React Suspense for Data Fetching\u003c\/p\u003e\u003cp\u003e- Using Hooks for Handling Forms\u003c\/p\u003e\u003cp\u003e- Using Hooks for Routing\u003c\/p\u003e\u003cp\u003e- Advanced Hooks Provided by React\u003c\/p\u003e\u003cp\u003e- Using Community Hooks\u003c\/p\u003e\u003cp\u003e- Rules of Hooks\u003c\/p\u003e\u003cp\u003e- Building Your Own Hooks\u003c\/p\u003e\u003cp\u003e- Migrating from React Class Components\u003c\/p\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Daniel Bugl\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 1836209177\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9781836209171\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Packt Publishing\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 05\/23\/2025\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 372\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.41lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.50w x 0.77d","brand":"Daniel Bugl","offers":[{"title":"Paperback","offer_id":47424494207231,"sku":"9781836209171","price":41.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_646aa3b3-f230-4fe1-93a6-8317803e5e55.jpg?v=1761530590","url":"https:\/\/www.whiterainbookhouse.com\/products\/learn-react-hooks-second-daniel-bugl-9781836209171","provider":"WR Book House","version":"1.0","type":"link"}