| title | Scroll Restoration |
|---|---|
| toc | false |
| order | 1 |
This example demonstrates the basic usage of the <ScrollRestoration> component, including:
- Restoring scroll position via
location.key - Restoring scroll position via
location.pathname - Preventing scroll resetting via
<Link>
Open this example on StackBlitz: