𝔖 Scriptorium
✦   LIBER   ✦

📁

React Router Quick Start Guide: Routing in React Applications Made Easy

✍ Scribed by Sagar Ganatra [Sagar Ganatra]


Publisher
Packt Publishing
Year
2018
Tongue
English
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Learn how you can implement routing in a React Web/Native application using React-Router library

Key Features

  • Create nested routes and complex workflows for your applications
  • Learn Routing in server-side rendered applications and in Native mobile applications
  • Understand how Redux bindings for React-Router works using the connected-react-router library

Book Description

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 flexibility, 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.

What you will learn

  • Create your first Route using the Route component
  • Protect routes from unauthorized access by using the redirect component
  • Navigate to your defined route using Link and NavLink
  • Configure BrowserRouter and HashRouter using various props
  • Use StaticRouter for routing in server-side rendered React applications
  • Implement routing in a React Native app using react-router-native
  • Using connected-react-router library with React-Router for better state management

Who this book is for

This book is for JavaScript developers who have basic knowledge of React and who want to harness the power and flexibility of React Router

Table of Contents

  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

**


📜 SIMILAR VOLUMES


React Router Quick Start Guide: Routing
✍ Sagar Ganatra 📂 Library 🏛 Packt Publishing 🌐 English

<p><span>Learn how you can implement routing in a React Web/Native application using React-Router library</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Create nested routes and complex workflows for your applications </span></span></li><li><span><span>Learn Routing in server-side r

Create React App 2 Quick Start Guide: Bu
✍ Brandon Richey 📂 Library 📅 2019 🏛 Packt Publishing 🌐 English

<p><b>Integrate your React applications with React to build efficient web services.</b></p> <h4>Key Features</h4> <ul><li>Learn React by building applications with Create React App </li> <li>Create interactive UIs exploring the latest feature of CRA 2.0 </li> <li>Build Progressive Web Applications f

Create React App 2 Quick Start Guide: Bu
✍ Brandon Richey 📂 Library 📅 2019 🏛 Packt Publishing Ltd 🌐 English

Integrate your React applications with React to build efficient web services. Key FeaturesLearn React by building applications with Create React AppCreate interactive UIs exploring the latest feature of CRA 2.0Build Progressive Web Applications for a more seamless webBook Description If you're a pow

ReactJS by Example: Building Modern Web
✍ Vipul A M, Sonpatki Prathamesh. 📂 Library 🌐 English

Packt Publishing, 2016. — 298 p. — ISBN: 978-1-78528-964-4.<br/> <br/><strong>Код примеров к книге выложен <a class="object-link fpm" data-file-id="1945630" href="/file/1945630/">здесь</a>.</strong><div class="bb-sep"></div><strong>Get up and running with ReactJS by developing five cutting-edge and

ReactJS by Example: Building Modern Web
✍ Vipul A M, Sonpatki Prathamesh. 📂 Library 🌐 English

Packt Publishing, 2016. — 298 p. — ISBN: 978-1-78528-964-4.<br/> <br/><strong>Код примеров к книге выложен <a class="object-link fpm" data-file-id="1945630" href="/file/1945630/">здесь</a>.</strong><div class="bb-sep"></div><strong>Get up and running with ReactJS by developing five cutting-edge and

MERN Quick Start Guide: Build web applic
✍ Eddy Wilson Iriarte Koroliova 📂 Library 📅 2018 🏛 Packt Publishing 🌐 English

<p><b>Build web applications with MongoDB, ExpressJS, React, and Node</b></p><h4>Key Features</h4><ul><li>Build applications with the MERN stack</li><li>Work with each component of the MERN stack</li><li>Become confident with MERN and ready for more!</li></ul><h4>Book Description</h4><p>The MERN sta