Learning React

by Alex Banks, Eve Porcello

Programming

Book Details

Book Title

Learning React

Author

Alex Banks, Eve Porcello

Publisher

O'Reilly Media, Inc

Publication Date

2020

ISBN

9781492051725

Number of Pages

310

Language

English

Format

PDF

File Size

8.1MB

Subject

React

Table of Contents

  • 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
  • Working with the Files
  • Chapter 2. JavaScript for React
  • Declaring Variables
  • Creating Functions
  • Compiling JavaScript
  • Objects and Arrays
  • Asynchronous JavaScript
  • Classes
  • ES6 Modules
  • Chapter 3. Functional Programming with JavaScript
  • What It Means to Be Functional
  • Imperative Versus Declarative
  • Functional Concepts
  • Chapter 4. How React Works
  • Page Setup
  • React Elements
  • ReactDOM
  • React Components
  • Chapter 5. React with JSX
  • React Elements as JSX
  • Babel
  • Recipes as JSX
  • React Fragments
  • Intro to webpack
  • Chapter 6. React State Management
  • Building a Star Rating Component
  • The useState Hook
  • Refactoring for Advanced Reusability
  • State in Component Trees
  • Building Forms
  • React Context
  • Chapter 7. Enhancing Components with Hooks
  • Introducing useEffect
  • Chapter 8. Incorporating Data
  • Requesting Data
  • Render Props
  • Virtualized Lists
  • Introducing GraphQL
  • Chapter 9. Suspense
  • Error Boundaries
  • Code Splitting
  • Chapter 10. React Testing
  • ESLint
  • Prettier
  • Typechecking for React Applications
  • Test-Driven Development
  • Incorporating Jest
  • Testing React Components
  • Chapter 11. React Router
  • Incorporating the Router
  • Router Properties
  • Using Redirects
  • Chapter 12. React and the Server
  • Isomorphic Versus Universal
  • Server Rendering React
  • Server Rendering with Next.js
  • Gatsby
  • React in the Future
  • Index
  • About the Authors
  • Colophon