React Router Quick Start Guide

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

React Router Quick Start Guide

Sagar Ganatra

Learn how you can implement routing in a React Web/Native application using React-Router library
Packt Subscription
FREE
$9.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Packt subscription?
  • Exclusive monthly discount - no contract
  • Unlimited access to entire Packt library of 6500+ eBooks and Videos
  • 120 new titles added every month, on new and emerging tech
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$16.80
$29.99
$0 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 10 Day Trial

Frequently bought together


React Router Quick Start Guide Book Cover
React Router Quick Start Guide
$ 23.99
$ 16.80
Bash Quick Start Guide Book Cover
Bash Quick Start Guide
$ 23.99
$ 16.80
Buy 2 for $33.60
Save $14.38
Add to Cart

Book Details

ISBN 139781789532555
Paperback156 pages

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.

Table of Contents

Chapter 1: Introduction to React Router 4 and Creating Your First Route
Chapter 5: Understanding the Core Router, and Configuring the BrowserRouter and HashRouter components

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

Authors

Table of Contents

Chapter 1: Introduction to React Router 4 and Creating Your First Route
Chapter 5: Understanding the Core Router, and Configuring the BrowserRouter and HashRouter components

Book Details

ISBN 139781789532555
Paperback156 pages
Read More

Read More Reviews

Recommended for You

Bash Quick Start Guide Book Cover
Bash Quick Start Guide
$ 23.99
$ 16.80
Mastering Docker - Third Edition Book Cover
Mastering Docker - Third Edition
$ 39.99
$ 28.00
Mastering Predictive Analytics with scikit-learn and TensorFlow Book Cover
Mastering Predictive Analytics with scikit-learn and TensorFlow
$ 23.99
$ 16.80
Learning Microsoft Cognitive Services - Third Edition Book Cover
Learning Microsoft Cognitive Services - Third Edition
$ 35.99
$ 25.20
Kubernetes Design Patterns and Extensions Book Cover
Kubernetes Design Patterns and Extensions
$ 19.99
$ 14.00
Guide to NoSQL with Azure Cosmos DB Book Cover
Guide to NoSQL with Azure Cosmos DB
$ 23.99
$ 16.80