React Router Quick Start Guide Routing in React Applications Made Easy

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.

Saved in:
Bibliographic Details
Main Author: Ganatra, Sagar
Format: eBook
Language:English
Published: Birmingham Packt Publishing, Limited 2018
Packt Publishing Limited
Packt Publishing
Edition:1
Subjects:
ISBN:1789532558, 9781789532555
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract 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.
AbstractList 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.
Learn how you can implement routing in a React Web/Native application using React-Router libraryKey FeaturesCreate nested routes and complex workflows for your applicationsLearn Routing in server-side rendered applications and in Native mobile applicationsUnderstand how Redux bindings for React-Router works using the connected-react-router libraryBook DescriptionReact 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 learnCreate your first Route using the Route componentProtect routes from unauthorized access by using the redirect componentNavigate to your defined route using Link and NavLinkConfigure BrowserRouter and HashRouter using various propsUse StaticRouter for routing in server-side rendered React applicationsImplement routing in a React Native app using react-router-nativeUsing connected-react-router library with React-Router for better state managementWho this book is forThis book is for JavaScript developers who have basic knowledge of React and who want to harness the power and flexibility of React Router
Author Ganatra, Sagar
Author_xml – sequence: 1
  fullname: Ganatra, Sagar
BookMark eNplkN9Lw0AMx0_8gW7u0Vfpm_gwTXq97u7RlTmFgTjF15JeM52rq_auDv97TycTMRCSL3zyJUlH7CzrJQtxhHAGIc7NQONAGyVjLfWW6GyE3N4IpfReEKBSA4go90XPuecwLUOmMR6I4ymT9dG0bj030W07t4vozlPjo3E7L_lQ7M6octz7qV3xcDm6z676k5vxdXYx6ZMMxrJPlBgGtKgLBrBsCtZAmOgSVKwQQM3AWmVSbUuKTYkMskgASSrLNkbZFadrY3ILXrmnuvIuf6-4qOuFy__c-suuqApbl_zYtB-hyV-osf_YkzX72tRvLTuff1taXvqGqnw0zFQgv772CdrHXtg
ContentType eBook
DEWEY 005.1
DOI 10.0000/9781789532838
DatabaseTitleList

DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 1789532833
9781789532838
Edition 1
1st edition.
ExternalDocumentID 9781789532838
EBC5532283
GroupedDBID -VX
38.
AABBV
AAKGN
AANYM
AAZEP
AAZGR
ABARN
ABCYV
ABIWA
ABMRC
ABRSK
ABWNX
ACBYE
ACLGV
ADBND
ADVEM
AECLD
AEHEP
AEIUR
AERYV
AFQEX
AHWGJ
AJFER
ALMA_UNASSIGNED_HOLDINGS
APVFW
ATDNW
AVGCG
AZZ
BBABE
BSWCA
CZZ
DUGUG
E2F
EBSCA
GEOUK
IHRAH
J-X
L7C
OHILO
OODEK
PASLL
QD8
UE6
5O.
ABQPQ
ACIWJ
AFOJC
ECOWB
O7H
XI1
YSPEL
ID FETCH-LOGICAL-a30113-aa49e01c18be00ce9be80a148d05251005f0cc5968cda29d1e03b401a35cec213
ISBN 1789532558
9781789532555
IngestDate Fri Nov 08 05:28:53 EST 2024
Fri Nov 21 20:04:53 EST 2025
Wed Dec 10 09:10:59 EST 2025
IsPeerReviewed false
IsScholarly false
LCCallNum_Ident QA76.76.A65 .G363 2018
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-a30113-aa49e01c18be00ce9be80a148d05251005f0cc5968cda29d1e03b401a35cec213
OCLC 1056901113
PQID EBC5532283
PageCount 146
ParticipantIDs askewsholts_vlebooks_9781789532838
walterdegruyter_marc_9781789532838
proquest_ebookcentral_EBC5532283
PublicationCentury 2000
PublicationDate 2018
[2018]
2018-09-29
PublicationDateYYYYMMDD 2018-01-01
2018-09-29
PublicationDate_xml – year: 2018
  text: 2018
PublicationDecade 2010
PublicationPlace Birmingham
PublicationPlace_xml – name: Birmingham
– name: Birmingham, UK
PublicationYear 2018
Publisher Packt Publishing, Limited
Packt Publishing Limited
Packt Publishing
Publisher_xml – name: Packt Publishing, Limited
– name: Packt Publishing Limited
– name: Packt Publishing
RestrictionsOnAccess restricted access
SSID ssj0003000621
Score 2.074801
Snippet 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...
Learn how you can implement routing in a React Web/Native application using React-Router libraryKey FeaturesCreate nested routes and complex workflows for your...
SourceID askewsholts
walterdegruyter
proquest
SourceType Aggregation Database
Publisher
SubjectTerms Application software-Development
COM051260 COMPUTERS / Programming Languages / JavaScript
COM060080 COMPUTERS / Web / General
COMPUTERS / Programming / Open Source
Mobile apps
Subtitle Routing in React Applications Made Easy
TableOfContents to redirect to a Page Not Found page -- Redirecting from an old path to a new path -- Summary -- Chapter 5: Understanding the Core Router, and Configuring the BrowserRouter and HashRouter components -- &lt -- Router&gt -- component -- Including &lt -- Router&gt -- from react-router -- react-router package -- react-router-dom package -- &lt -- BrowserRouter&gt -- component -- basename prop -- forceRefresh prop -- keyLengthprop -- getUserConfirmation prop -- Showing a custom dialog box using the getUserConfirmation prop -- &lt -- HashRouter&gt -- component -- hashType prop -- Summary -- Chapter 6: Using StaticRouter in a Server-Side Rendered React Application -- Performing SSR of a React application using Node.js and Express.js -- Installing dependencies -- Webpack build configuration -- Server-Side application -- Rendering a React application using ReactDOMServer.renderToString -- Adding &lt -- StaticRouter&gt -- and creating routes -- Server-Side redirect using the &lt -- Redirect&gt -- and staticContext -- Request URL matching with matchPath -- StaticRouter context prop -- Creating Isomorphic React applications -- Webpack configuration -- Server-Side configuration -- Summary -- Chapter 7: Using NativeRouter in a React Native Application -- Using NativeRouter in a React Native application -- Creating a new project with the create-react-native-app CLI -- Adding the &lt -- NativeRouter&gt -- component -- The &lt -- NativeRouter&gt -- component -- The initialEntries prop -- The initialIndex prop -- The &lt -- BackButton&gt -- component -- Creating Deeplinks with &lt -- DeepLinking&gt -- -- Ejecting from the create-react-native-app -- Adding &lt -- intent-filter&gt -- to the manifest file -- Including the &lt -- DeepLinking&gt -- component -- Summary -- Chapter 8: Redux Bindings with connected-react-router -- State management with Redux -- Actions
Reducers -- Store -- Redux in React -- Getting started with connected-react-router -- Reading state information from the Redux store -- Navigating by dispatching actions -- Summary -- Other Books You May Enjoy -- Index
Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Introduction to React Router 4 and Creating Your First Route -- A brief look at React -- Component-based architecture in React -- Creating a React component -- Introduction to React-Router -- Getting started with React-Router -- Adding the React-Router library -- Defining application routes -- Summary -- Chapter 2: Configuring Routes - Using Various Options in the Route Component -- Route props -- The exact prop -- The strict prop -- The sensitive prop -- Inline rendering with the render prop -- Inline rendering with the children prop -- Route component props -- History -- The location object -- The match object -- Route parameters -- Nested routes and dynamic routing -- Dynamic routes from JSON -- Summary -- Chapter 3: Using the Link and NavLink Components to Navigate to a Route -- &lt -- Link&gt -- component -- replace prop -- innerRef prop -- to prop with an object -- &lt -- NavLink&gt -- component -- activeClassName prop -- activeStyle prop -- exact prop -- strict prop -- isActive prop -- location prop -- Navigating to nested routes -- Navigating to a route programmatically using history -- Using the withRouter higher-order component -- Preventing transitions with &lt -- Prompt&gt -- -- Summary -- Chapter 4: Using the Redirect and Switch Components -- The &lt -- Redirect&gt -- component -- The to prop -- The push prop -- Protecting routes and authorization -- Redirecting with a callback route -- Exclusive routing with the &lt -- Switch&gt -- component -- Ordering of the &lt -- Route&gt -- components in &lt -- Switch&gt -- -- &lt -- Route&gt -- with path '/' as the first child in &lt -- Switch&gt -- -- &lt -- Route&gt -- with path params -- Adding a 404 - Page Not Found -- Using &lt -- Redirect&gt -- in &lt -- Switch&gt
React Router Quick Start Guide: Routing in React applications made easy
Title React Router Quick Start Guide
URI https://ebookcentral.proquest.com/lib/[SITE_ID]/detail.action?docID=5532283
https://www.vlebooks.com/vleweb/product/openreader?id=none&isbn=9781789532838&uid=none
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV1Lb9QwELZKlwM9QHmJUlpZiNsqwk6a2Omx1bZIlfoQBfUWTZxxtVoIKMmW8u87drK7yYoDHLhYiT2ZSN9Y4xl7xsPYB13kSmISBiEaFZD_ZQJyI2wQGZtbm0e5SNtiE-r8XN_cpJdd4dTalxNQZanv79Of_1XU1EfCdqmz_yDuJVPqoGcSOrUkdmrXLOLla3e_Nrp8Rxfig9X4aj41M2dKVg1Ng2nhU9DdWJfD0hL3j6_H36HAMUK9iu-EEhpfh2j8GW6h6u8QSB_OEK700CWYWdPb1Rp4kFLpNI7IxtB_0qduNWtDKIZ0a1dUD8YfsZE7zSVHeHQ6ufhyttzxitzSGMr2olPH-ePguy22BfWMNDtp_aYeGPxPf_nQgQJvq_nvZnFU7S2A6202QpcW8pxtYPmCPVsUw-CdbnzJTj2ivIWfe_i5h597-A95Bz6flrwl7YPPHfjcgf-KfT2ZXB9_CroqFQE45RgFAAcpCmmkzlEIg2mOWgC5mYWrEShJzVlhTJwm2hQQpoVEEeXk1kIUGzShjF6zzfJHiW8YjwFA2kQoW5gDhRYSrVGoXFmTkJ2a7LD3PYyyu2_-RL3OBkDuML6ALvPjXZhvNjk6jomEaIjPGqSZuzllyOft3_xslz1ZTbl3bLOp5rjHHpu7ZlpX-90UeADu5T_N
linkProvider ProQuest Ebooks
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.title=React+Router+Quick+Start+Guide%3A+Routing+in+React+applications+made+easy&rft.au=Ganatra%2C+Sagar&rft.date=2018-09-29&rft.pub=Packt+Publishing&rft.isbn=9781789532838&rft_id=info:doi/10.0000%2F9781789532838&rft.externalDocID=9781789532838
thumbnail_m http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fvle.dmmserver.com%2Fmedia%2F640%2F97817895%2F9781789532838.jpg