{"product_id":"designing-react-hooks-the-right-fang-jin-9781803235950","title":"Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks","description":"\u003cp\u003e\u003cstrong\u003eGet to grips with React Hooks and design your own custom Hook to manage application states for making better decisions in site architecture\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eKey Features: \u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eGet to grips with Hooks' design and understand each built-in Hook's pitfalls with examples\u003c\/li\u003e\n\u003cli\u003eDiscover how to turn your existing code into a reusable Hook via code refactoring\u003c\/li\u003e\n\u003cli\u003eExplore design solutions to identify and solve site performance issues involving Hooks\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eBook Description: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eReact hook creates a unique solution for using states in function components to orchestrate UI communication. They provide you with an easy interface to write custom data management solutions with low development and maintenance costs. Understanding how Hooks are designed enables you to use them more effectively, and this book helps you to do just that.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eThis book starts with a custom-crafted solution to reveal why Hooks are needed in the first place. You will learn about the React engine and discover how each built-in Hook can manage a persistent value by hooking into it. You will walk through the design and implementation of each hook with code so that you gain a solid understanding. Finally, you'll get to grips with each Hook's pitfalls and find out how to effectively overcome them.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eBy the end of this React book, you'll have gained the confidence to build and write Hooks for developing functional and efficient web applications at scale.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWhat You Will Learn: \u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eCreate your own hooks to suit your state management requirement\u003c\/li\u003e\n\u003cli\u003eDetect the current window size of your website using useEffect\u003c\/li\u003e\n\u003cli\u003eDebounce an action to improve user interface (UI) performance using useMemo\u003c\/li\u003e\n\u003cli\u003eEstablish a global site configuration using useContext\u003c\/li\u003e\n\u003cli\u003eAvoid hard-to-find application memory leaks using useRef\u003c\/li\u003e\n\u003cli\u003eDesign a simple and effective API data layer using custom Hooks\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWho this book is for: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eThis book is for web developers who are looking for a consistent and efficient approach for applying application states with Hooks. Basic knowledge of React will help you to get the most out of this book.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Fang Jin\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 1803235950\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9781803235950\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Packt Publishing\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 02\/10\/2022\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 278\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.06lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.50w x 0.58d\u003c\/p\u003e","brand":"Fang Jin","offers":[{"title":"Paperback","offer_id":43992731386111,"sku":"9781803235950","price":43.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_398a05ab-ace5-4e1e-bb5a-013dbe4697ba.jpg?v=1683320473","url":"https:\/\/www.whiterainbookhouse.com\/products\/designing-react-hooks-the-right-fang-jin-9781803235950","provider":"WR Book House","version":"1.0","type":"link"}