client/src/App.js
// using BrowserRouter, route the user to following pages when they reach the specific paths listed in each route. 
using BrowserRouter, route the user to following pages when they reach the specific paths listed in each route.
using BrowserRouter route the user to following pages when they reach the specific paths listed in each route .
function App() {
  return (
    <BrowserRouter>
      <div>
        <Switch>
          <Route exact path="/members" component={Members} />
          <Route exact path="/login" component={Login} />
          <Route exact path="/" component={Home} />
        </Switch>
      </div>
    </BrowserRouter>
  );
}
function App ( ) { return ( < BrowserRouter > < div > < Switch > < Route exact path = "/members" component = { Members } / > < Route exact path = "/login" component = { Login } / > < Route exact path = "/" component = { Home } / > < / Switch > < / div > < / BrowserRouter > ) ; }
using BrowserRouter, route the user to following pages when they reach the specific paths listed in each route.
using BrowserRouter route the user to following pages when they reach the specific paths listed in each route .