1<Route
2 path='/dashboard'
3 render={(props) => (
4 <Dashboard {...props} isAuthed={true} />
5 )}
6/>
1 <Route
2 path="/page"
3 render={() => (
4 <Page
5 //pass the props through the route
6 username={username}
7 password={password}
8 email={email}
9 />
10 )}
11 exact={true}
12 />