Router and navbar in React tut 16
Router in React To use router concept in React , first you have to perform following steps. 1st : TO install Router $ npm install --save react-router-dom 2nd : import following in index.js file import { BrowserRouter } from "react-router-dom" 3nd : Use of BrowserRouter in index.js file ReactDOM . render ( < BrowserRouter > < App /> </ BrowserRouter > , document . getElementById ( 'root' ) ); 4th : Router.jsx , where we give path of pages import React from 'react' import { Route , Switch } from "react-router-dom" import Contact from './RContact' import About from './RAbout' import ErrorMsg from './ErrorMsg' import Navbar from './Navbar' let Service = () => { return ( < > < h1 > This...