Learning React : modern patterns for developing React apps /
If you want to learn how to build efficient React applications, this is your book. Ideal for web developers and software engineers who understand how JavaScript, CSS, and HTML work in the browser, this updated edition provides best practices and patterns for writing modern React code. No prior knowl...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
2020.
|
Edición: | Second edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Copyright
- Table of Contents
- Preface
- Conventions Used in This Book
- Using Code Examples
- O'Reilly Online Learning
- How to Contact Us
- Acknowledgments
- Chapter 1. Welcome to React
- A Strong Foundation
- React's Past and Future
- Learning React: Second Edition Changes
- Working with the Files
- File Repository
- React Developer Tools
- Installing Node.js
- Chapter 2. JavaScript for React
- Declaring Variables
- The const Keyword
- The let Keyword
- Template Strings
- Creating Functions
- Function Declarations
- Function Expressions
- Default Parameters
- Arrow Functions
- Compiling JavaScript
- Objects and Arrays
- Destructuring Objects
- Destructuring Arrays
- Object Literal Enhancement
- The Spread Operator
- Asynchronous JavaScript
- Simple Promises with Fetch
- Async/Await
- Building Promises
- Classes
- ES6 Modules
- CommonJS
- Chapter 3. Functional Programming with JavaScript
- What It Means to Be Functional
- Imperative Versus Declarative
- Functional Concepts
- Immutability
- Pure Functions
- Data Transformations
- Higher-Order Functions
- Recursion
- Composition
- Putting It All Together
- Chapter 4. How React Works
- Page Setup
- React Elements
- ReactDOM
- Children
- React Components
- React Components: A Historical Tour
- Chapter 5. React with JSX
- React Elements as JSX
- JSX Tips
- Mapping Arrays with JSX
- Babel
- Recipes as JSX
- React Fragments
- Intro to webpack
- Creating the Project
- Loading the Bundle
- Source Mapping
- Create React App
- Chapter 6. React State Management
- Building a Star Rating Component
- The useState Hook
- Refactoring for Advanced Reusability
- State in Component Trees
- Sending State Down a Component Tree
- Sending Interactions Back up a Component Tree
- Building Forms
- Using Refs
- Controlled Components
- Creating Custom Hooks
- Adding Colors to State
- React Context
- Placing Colors in Context
- Retrieving Colors with useContext
- Stateful Context Providers
- Custom Hooks with Context
- Chapter 7. Enhancing Components with Hooks
- Introducing useEffect
- The Dependency Array
- Deep Checking Dependencies
- When to useLayoutEffect
- Rules to Follow with Hooks
- Improving Code with useReducer
- useReducer to Handle Complex State
- Improving Component Performance
- ShouldComponentUpdate and PureComponent
- When to Refactor
- Chapter 8. Incorporating Data
- Requesting Data
- Sending Data with a Request
- Uploading Files with fetch
- Authorized Requests
- Saving Data Locally
- Handling Promise States
- Render Props
- Virtualized Lists
- Creating a Fetch Hook
- Creating a Fetch Component
- Handling Multiple Requests
- Memozing Values
- Waterfall Requests
- Throttling the Network Speed
- Parallel Requests
- Waiting for Values
- Canceling Requests
- Introducing GraphQL
- GitHub GraphQL API
- Making a GraphQL Request
- Chapter 9. Suspense
- Welcome to React
- JavaScript for React
- Functional programming with JavaScript
- How React works
- Reach with JSX
- React state management
- Enhancing components with Hooks
- Incorporating data
- Suspense
- React testing
- React router
- Reach and the server.