Details zum E-Book

React Router Quick Start Guide. Routing in React applications made easy

React Router Quick Start Guide. Routing in React applications made easy

Sagar Ganatra

E-book
React Router is the routing library for React, and it can be used in both React Web and React Native applications. This book is a simple way to get started with React Router and harness its full power for your applications.

The book starts with an introduction to React Router and teaches you how to create your first route using the React component. You will then learn about configuring your routes, passing parameters, and creating nested routes. You will be introduced to various components in React-Router and learn different configuration options available for these components. You will then see how to use the Redirect and Switch components. For even greater ?exibility, you will learn about BrowserRouter, HashRouter, NativeRouter, and StaticRouter.

By the end of the book, you will have set up a project with React Router and make routing configuration work in a server-side rendered React application, a mobile application built with React Native and also understand how Redux and React-Router can be used in the same application.
  • 1. Introduction to React Router 4 and Creating Your First Route
  • 2. Configuring Routes - Using Various Options in the Route Component
  • 3. Using the Link and NavLink Components to Navigate to a Route
  • 4. Using the Redirect and Switch Components
  • 5. Understanding the Core Router, and Configuring the BrowserRouter and HashRouter components
  • 6. Using StaticRouter in a Server-Side Rendered React Application
  • 7. Using NativeRouter in a React Native Application
  • 8. Redux Bindings with connected-react-router
  • Titel: React Router Quick Start Guide. Routing in React applications made easy
  • Autor: Sagar Ganatra
  • Originaler Titel: React Router Quick Start Guide. Routing in React applications made easy
  • ISBN: 9781789532838, 9781789532838
  • Veröffentlichungsdatum: 2018-09-29
  • Format: E-book
  • Artikelkennung: e_159l
  • Verleger: Packt Publishing