React projects : build 12 real-world applications from scratch using React, React Native, and React 360 /
React, an intuitive web frontend framework, extends its capabilities in building apps for mobile and VR. This book aims to help you in building React applications through a series of real-world projects increasing in complexity as you progress. With coverage on various modern React tooling, you will...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2019.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Table of Contents
- Preface
- Chapter 1: Creating a Movie List Application in React
- Project overview
- Getting started
- Creating a movie list application
- Setting up a project
- Setting up webpack
- Configuring webpack to work with React
- Rendering a React project
- Creating a development server
- Structuring a project
- Creating new components
- Retrieving data
- Adding styling
- Adding ESLint
- Summary
- Further reading
- Chapter 2: Creating a Progressive Web Application with Reusable React Components
- Project overview
- Getting started
- GitHub portfolio application
- Creating a PWA with Create React App
- Installing Create React App
- Creating a PWA
- Serving the PWA
- Building reusable React components
- Structuring our application
- Reusing components in React
- Styling in React with styled-components
- Summary
- Further reading
- Chapter 3: Build a Dynamic Project Management Board with React and Suspense
- Project overview
- Getting started
- Creating a project management board application
- Handling the data flow
- Loading and displaying the data
- Getting started with HOC
- Creating HOC
- Using the HOC
- Making the board dynamic
- Summary
- Further reading
- Chapter 4: Build a SSR-Based Community Feed Using React Router
- Project overview
- Getting started
- Community feed application
- Declarative routing
- Routes with parameters
- Handling query strings
- Enable SSR
- Creating an express server with react-router
- Adding head tags using React Helmet
- Summary
- Further reading
- Chapter 5: Build a Personal Shopping List Application Using Context API and Hooks
- Project overview
- Getting started
- Personal shopping list
- Using the context API for state management
- Creating Context
- Nesting Context
- Mutating context with Hooks
- Using life cycles in functional components
- Updating the Provider with a Flux pattern
- Mutating data in the Provider
- Creating a global Context
- Summary
- Further reading
- Chapter 6: Build an Application Exploring TDD Using Jest and Enzyme
- Project overview
- Getting started
- Hotel review application
- Unit testing with Jest
- Creating a unit test
- Rendering a React component for testing
- Testing components with assertions
- Using Enzyme for testing React
- Shallow rendering with Enzyme
- Testing assertions with shallow rendering
- Integration testing with Enzyme
- Summary
- Further reading
- Chapter 7: Build a Full Stack E-Commerce Application with React Native and GraphQL
- Project overview
- Getting started
- Getting started with the initial React application
- Getting started with the GraphQL server
- Building a full stack e-commerce application with React, Apollo, and GraphQL
- Adding GraphQL to a React application
- Sending GraphQL queries with React