Skip to content

Commit aa00702

Browse files
committed
docs: nav blocking updates
1 parent 0db3f44 commit aa00702

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/how-to/navigation-blocking.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ title: Navigation Blocking
66

77
[MODES: framework, data]
88

9+
## Overview
10+
911
When users are in the middle of a workflow, like filling out an important form, you may want to prevent them from navigating away from the page.
1012

1113
This example will show:
1214

13-
- Connecting a form to a route action with [`useFetcher`](../api/hooks/useFetcher)
15+
- Setting up a route with a form and action called with a fetcher
1416
- Blocking navigation when the form is dirty
15-
- Showing a confirmation dialog when the user tries to leave the page
17+
- Showing a confirmation when the user tries to leave the page
1618

1719
## 1. Set up a route with a form
1820

0 commit comments

Comments
 (0)