@ovineko/spa-guard-react-router
v0.0.4
Published
React Router v7 error boundary integration for spa-guard
Maintainers
Readme
@ovineko/spa-guard-react-router
React Router v7 error boundary integration for spa-guard.
Install
pnpm (recommended):
pnpm add @ovineko/spa-guard-react-router @ovineko/spa-guard @ovineko/spa-guard-react react react-routernpm:
npm install @ovineko/spa-guard-react-router @ovineko/spa-guard @ovineko/spa-guard-react react react-routeryarn:
yarn add @ovineko/spa-guard-react-router @ovineko/spa-guard @ovineko/spa-guard-react react react-routerbun:
bun add @ovineko/spa-guard-react-router @ovineko/spa-guard @ovineko/spa-guard-react react react-routerdeno:
deno add npm:@ovineko/spa-guard-react-router npm:@ovineko/spa-guard npm:@ovineko/spa-guard-react npm:react npm:react-routerUsage
import { ErrorBoundaryReactRouter } from "@ovineko/spa-guard-react-router";
const router = createBrowserRouter([
{ path: "/", element: <App />, ErrorBoundary: ErrorBoundaryReactRouter },
]);Documentation
Full documentation: ovineko.com/docs/spa-guard/react-router
License
MIT
