mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
723 B
723 B
TanStack Router - Navigation Blocking Example
An example demonstrating navigation blocking and confirmation.
Start a new project based on this example
To start a new project based on this example, run:
npx gitpick TanStack/router/tree/main/examples/react/navigation-blocking navigation-blocking
Getting Started
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build
Build for production:
pnpm build
About This Example
This example demonstrates:
- Navigation blocking
- Unsaved changes detection
- Navigation confirmation dialogs
- Form protection
- User experience patterns