@sharyn/react-router
v1.1.11
Published
<!-- This file is auto-generated, don't modify it. Modify docs.js instead. -->
Downloads
7
Readme
🌹 @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