1.1.11 • Published 5 years ago
@sharyn/react-router v1.1.11
🌹 @sharyn/react-router
Components for React Router.
Installation
npm i @sharyn/react-router
# or
yarn add @sharyn/react-router
You can alternatively install the entire sharyn library or individual modules.
Modules
- PrivateRoute – A
Route
that redirects unauthenticated users - ServerOnlyRoute – A
Route
that refreshes the page on the client