mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
716 B
716 B
TanStack Router - Scroll Restoration Example
An example demonstrating scroll position restoration.
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/scroll-restoration scroll-restoration
Getting Started
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build
Build for production:
pnpm build
About This Example
This example demonstrates:
- Scroll position restoration
- Browser back/forward scroll behavior
- Custom scroll restoration logic
- User experience optimization