roles in front end section what condtion should use in front end that we can check roles:: Note01:: Basic concept understaood by prashant export const Route export default app import {Route} from 'react-router-dom' PrivateRoute.js export const PrivateRoute = (props) => { const isAuthorized = true return( ? <Route path="/abc" render={() => </Student>} > : <Redirect to="login"> ) } App.js <PrivateRoute isAuthorized={} /> </Route> Note02:: Basic concept understaood for rest ({...rest}) Note 03:: ({roles, hj,jjj, ...rest}) const gjhjk(props) Note 04:: App.js return <Router> jijo </Router> Note 06: a = 2 2=== a ({path, component, h, h, ...rest}) {path: '', component: ''} = props Note 07: PrivateRoute.js // This is used to determine if a user is authenticated and // if they are allowed to visit the page they navi...