Designing React Hooks the Right Way : Explore Design Techniques and Solutions to Debunk the Myths About Adopting States Using React Hooks
Saved in:
| Title: | Designing React Hooks the Right Way : Explore Design Techniques and Solutions to Debunk the Myths About Adopting States Using React Hooks |
|---|---|
| Description: | Get to grips with React Hooks and design your own custom Hook to manage application states for making better decisions in site architectureKey FeaturesGet to grips with Hooks'design and understand each built-in Hook's pitfalls with examplesDiscover how to turn your existing code into a reusable Hook via code refactoringExplore design solutions to identify and solve site performance issues involving HooksBook DescriptionReact 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.This 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.By 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.What you will learnCreate your own hooks to suit your state management requirementDetect the current window size of your website using useEffectDebounce an action to improve user interface (UI) performance using useMemoEstablish a global site configuration using useContextAvoid hard-to-find application memory leaks using useRefDesign a simple and effective API data layer using custom HooksWho this book is forThis 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. |
| Authors: | Fang Jin, Sagar Kale |
| Resource Type: | eBook. |
| Subjects: | JavaScript (Computer program language), Application program interfaces (Computer software), Application software--Development, Web applications |
| Categories: | COMPUTERS / User Interfaces |
| Database: | eBook Collection (EBSCOhost) |
| FullText | Links: – Type: ebook-pdf – Type: ebook-epub Text: Availability: 0 |
|---|---|
| Header | DbId: nlebk DbLabel: eBook Collection (EBSCOhost) An: 3121193 RelevancyScore: 1110 AccessLevel: 6 PubType: eBook PubTypeId: ebook PreciseRelevancyScore: 1109.74133300781 |
| IllustrationInfo | |
| ImageInfo | – Size: thumb Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$3121193$PDF&s=r – Size: medium Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$3121193$PDF&s=d |
| Items | – Name: Title Label: Title Group: Ti Data: Designing React Hooks the Right Way : Explore Design Techniques and Solutions to Debunk the Myths About Adopting States Using React Hooks – Name: Abstract Label: Description Group: Ab Data: Get to grips with React Hooks and design your own custom Hook to manage application states for making better decisions in site architectureKey FeaturesGet to grips with Hooks'design and understand each built-in Hook's pitfalls with examplesDiscover how to turn your existing code into a reusable Hook via code refactoringExplore design solutions to identify and solve site performance issues involving HooksBook DescriptionReact 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.This 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.By 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.What you will learnCreate your own hooks to suit your state management requirementDetect the current window size of your website using useEffectDebounce an action to improve user interface (UI) performance using useMemoEstablish a global site configuration using useContextAvoid hard-to-find application memory leaks using useRefDesign a simple and effective API data layer using custom HooksWho this book is forThis 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. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Fang+Jin%22">Fang Jin</searchLink><br /><searchLink fieldCode="AR" term="%22Sagar+Kale%22">Sagar Kale</searchLink> – Name: TypePub Label: Resource Type Group: TypPub Data: eBook. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22JavaScript+%28Computer+program+language%29%22">JavaScript (Computer program language)</searchLink><br /><searchLink fieldCode="DE" term="%22Application+program+interfaces+%28Computer+software%29%22">Application program interfaces (Computer software)</searchLink><br /><searchLink fieldCode="DE" term="%22Application+software--Development%22">Application software--Development</searchLink><br /><searchLink fieldCode="DE" term="%22Web+applications%22">Web applications</searchLink> – Name: SubjectBISAC Label: Categories Group: Su Data: <searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+User+Interfaces%22">COMPUTERS / User Interfaces</searchLink> |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=nlebk&AN=3121193 |
| RecordInfo | BibRecord: BibEntity: Classifications: – Code: 005.72 Scheme: ddc Type: prePub Languages: – Code: eng Text: English Subjects: – SubjectFull: JavaScript (Computer program language) Type: general – SubjectFull: Application program interfaces (Computer software) Type: general – SubjectFull: Application software--Development Type: general – SubjectFull: Web applications Type: general Titles: – TitleFull: Designing React Hooks the Right Way : Explore Design Techniques and Solutions to Debunk the Myths About Adopting States Using React Hooks Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Fang Jin – PersonEntity: Name: NameFull: Sagar Kale – PersonEntity: Name: NameFull: Fang Jin – PersonEntity: Name: NameFull: Sagar Kale IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2022 – D: 30 M: 09 Type: profile Y: 2022 Identifiers: – Type: isbn-print Value: 9781803235950 – Type: isbn-electronic Value: 9781803237527 Titles: – TitleFull: Designing React Hooks the Right Way : Explore Design Techniques and Solutions to Debunk the Myths About Adopting States Using React Hooks Type: main |
| ResultId | 1 |