Author: | Sagar Ganatra | ISBN: | 9781789532838 |
Publisher: | Packt Publishing | Publication: | September 29, 2018 |
Imprint: | Packt Publishing | Language: | English |
Author: | Sagar Ganatra |
ISBN: | 9781789532838 |
Publisher: | Packt Publishing |
Publication: | September 29, 2018 |
Imprint: | Packt Publishing |
Language: | English |
Learn how you can implement routing in a React Web/Native application using React-Router library
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.
This book is for JavaScript developers who have basic knowledge of React and who want to harness the power and flexibility of React Router
Learn how you can implement routing in a React Web/Native application using React-Router library
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.
This book is for JavaScript developers who have basic knowledge of React and who want to harness the power and flexibility of React Router