Cargando…

React Hooks in action with suspense and concurrent mode /

Get started with React Hooks and you'll soon have code that's better organized and easier to maintain. React Hooks are targeted JavaScript functions that let you reuse and share functionality across components. Use them to split components into smaller functions, manage state and side effe...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Larsen, John R. (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Shelter Island, NY : Manning Publications, [2021]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Mi 4500
001 OR_on1256802826
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|||||||||
008 210617t20212021nyua o 001 0 eng d
040 |a YDX  |b eng  |c YDX  |d EBLCP  |d VT2  |d OCLCF  |d OCLCO  |d N$T  |d OCLCO  |d UKAHL  |d OCLCQ  |d OCLCO 
019 |a 1295114168 
020 |a 9781638350767  |q (electronic bk.) 
020 |a 1638350760  |q (electronic bk.) 
020 |z 9781617297632 
020 |z 1617297631 
029 1 |a AU@  |b 000071520867 
035 |a (OCoLC)1256802826  |z (OCoLC)1295114168 
050 4 |a QA76.73.J39  |b L37 2021 
082 0 4 |a 006.7784  |2 23 
049 |a UAMI 
100 1 |a Larsen, John R.,  |e author. 
245 1 0 |a React Hooks in action  |h [electronic resource] :  |b with suspense and concurrent mode /  |c John Larsen. 
264 1 |a Shelter Island, NY :  |b Manning Publications,  |c [2021] 
264 4 |c ©2021 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
505 0 |a Intro -- React Hooks in Action -- Copyright -- dedication -- contents -- front matter -- preface -- acknowledgments -- about this book -- Who should read this book -- How this book is organized: A roadmap -- About the code -- liveBook discussion forum -- Other online resources -- about the author -- about the cover illustration -- Part 1 -- 1 React is evolving -- 1.1 What is React? -- 1.1.1 Building a UI from components -- 1.1.2 Synchronizing state and UI -- 1.1.3 Understanding component types -- 1.2 What's new in React? -- 1.3 React Hooks can add state to function components 
505 8 |a 1.3.1 Stateful function components: Less code, better organization -- 1.3.2 Custom hooks: Easier code reuse -- 1.3.3 Third-party hooks provide ready-made, well-tested functionality -- 1.4 Better UX with Concurrent Mode and Suspense -- 1.4.1 Concurrent Mode -- 1.4.2 Suspense -- 1.5 React's new publication channels -- 1.6 Whom is this book for? -- 1.7 Getting started -- Summary -- 2 Managing component state with the useState hook -- 2.1 Setting up the bookings manager app -- 2.1.1 Generating the app skeleton with create-react-app -- 2.1.2 Editing the four key files 
505 8 |a 2.1.3 Adding a database file for the application -- 2.1.4 Creating page components and a UserPicker.js file -- 2.2 Storing, using, and setting values with useState -- 2.2.1 Assigning new values to variables doesn't update the UI -- 2.2.2 Calling useState returns a value and an updater function -- 2.2.3 Calling the updater function replaces the previous state value -- 2.2.4 Passing a function to useState as the initial value -- 2.2.5 Using the previous state when setting the new state -- 2.3 Calling useState multiple times to work with multiple values -- 2.3.1 Using a drop-down list to set state 
505 8 |a 2.3.2 Using a check box to set state -- 2.4 Reviewing some function component concepts -- Summary -- 3 Managing component state with the useReducer hook -- 3.1 Updating multiple state values in response to a single event -- 3.1.1 Taking users out of the movie with unpredictable state changes -- 3.1.2 Keeping users in the movie with predictable state changes -- 3.2 Managing more complicated state with useReducer -- 3.2.1 Updating state using a reducer with a predefined set of actions -- 3.2.2 Building a reducer for the BookablesList component 
505 8 |a 3.2.3 Accessing component state and dispatching actions with useReducer -- 3.3 Generating the initial state with a function -- 3.3.1 Introducing the WeekPicker component -- 3.3.2 Creating utility functions to work with dates and weeks -- 3.3.3 Building the reducer to manage dates for the component -- 3.3.4 Passing an initialization function to the useReducer hook -- 3.3.5 Updating BookingsPage to use WeekPicker -- 3.4 Reviewing some useReducer concepts -- Summary -- 4 Working with side effects -- 4.1 Exploring the useEffect API with simple examples -- 4.1.1 Running side effects after every render 
520 |a Get started with React Hooks and you'll soon have code that's better organized and easier to maintain. React Hooks are targeted JavaScript functions that let you reuse and share functionality across components. Use them to split components into smaller functions, manage state and side effects, and access React features without classes-- all without having to rearrange your component hierarchy. React Hooks in action teaches you to write fast and reusable React components using Hooks. You'll start by learning to create component code with Hooks. Next, you'll implement a resource booking application that demonstrates managing local state, application state, and side effects like fetching data. Code sample and illustrations make learning Hooks easy. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a JavaScript (Computer program language) 
650 0 |a Web-based user interfaces  |x Design and construction. 
650 0 |a Application software  |x Development. 
650 0 |a Web site development. 
650 6 |a JavaScript (Langage de programmation) 
650 6 |a Logiciels d'application  |x Développement. 
650 6 |a Sites Web  |x Développement. 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a JavaScript (Computer program language)  |2 fast 
650 7 |a Web site development  |2 fast 
776 0 8 |c Original  |z 9781617297632  |z 1617297631  |w (OCoLC)1151184748 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781617297632/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a Askews and Holts Library Services  |b ASKH  |n AH39609049 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL6642794 
938 |a YBP Library Services  |b YANK  |n 302272662 
938 |a EBSCOhost  |b EBSC  |n 2948747 
994 |a 92  |b IZTAP