Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
React Router Quick Start Guide: Routing in React applications made easy

Buy

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
(HTML tags aren't allowed.)

Fuzzy Logic: A Practical Approach
Fuzzy Logic: A Practical Approach
The last decade has seen a large interest in technologies that have as their motivation some aspect of human function. Some of these, like artificial intelligence, can be seen to be rooted in the psychological domain. Others, like neural networks, genetic algorithms, and evolutionary programming, are inspired by reconsiderations of biological...
RNA Viruses: A Practical Approach
RNA Viruses: A Practical Approach

This book provides a broad treatment of the principles and practice of R.N.A. virus research to insure the widest possible audience. It is perfect for laboratories involved in virus culture, including both academic and industrial research groups and public health laboratories.

...
Drupal 7 Primer: Creating CMS-Based Websites: A Guide for Beginners
Drupal 7 Primer: Creating CMS-Based Websites: A Guide for Beginners

An open source content management system (CMS) like Drupal can be a great resource for anyone who would like to develop and maintain a website. In the past, in order to make a website, you had to manually assemble all the files and develop a fair amount of technical expertise; however, a CMS can automate and significantly simplify...


Secure Transaction Protocol Analysis: Models and Applications (Lecture Note in Computer Science)
Secure Transaction Protocol Analysis: Models and Applications (Lecture Note in Computer Science)
The present volume arose from the need for a comprehensive coverage of the state of the art in security protocol analysis. It aims to serve as an overall course-aid and to provide self-study material for researchers and students in formal methods theory and applications in e-commerce, data analysis and data mining. The volume will also be useful to...
The RenderMan Shading Language Guide
The RenderMan Shading Language Guide

Over the past 15 years, movie audiences all over the world have witnessed the emergence of one of the most revolutionary tools ever created to aid in the creation of films, the use of Computer Generated Imagery (CGI). Through the use of CGI, filmmakers have transported us to distant places, put us right in the middle of very dangerous shots,...

Environmental Pollution and Control, Fourth Edition
Environmental Pollution and Control, Fourth Edition

Complex environmental problems are often reduced to an inappropriate level of simplicity. While this book does not seek to present a comprehensive scientific and technical coverage of all aspects of the subject matter, it makes the issues, ideas, and language of environmental engineering accessible and understandable to the nontechnical...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy