Skip to content

Commit be09ace

Browse files
authored
docs: add demo
Closes #10
1 parent c957a0e commit be09ace

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ session storage and then restoring it when the user navigates back to the page
5151
This depends on React Router's `useNavigation` and `useLocation` hooks. It could
5252
probably be generalized to work with other routers. PRs welcome.
5353

54+
## Demo
55+
56+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/remix-run-remix-fczany?file=app%2Froutes%2F_index.tsx)
57+
58+
Note: this demo is based on Remix, but will work with React Router as well.
59+
5460
## Usage
5561

5662
```tsx

0 commit comments

Comments
 (0)