File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 124
124
- lordofthecactus
125
125
- LordThi
126
126
- loun4
127
+ - lounsbrough
127
128
- lpaube
128
129
- lqze
129
130
- lukerSpringTree
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ title: useNavigate
4
4
5
5
# ` useNavigate `
6
6
7
- <docs-warning >It's usually better to use [ ` redirect ` ] [ redirect ] in loaders and actions than this hook</docs-warning >
7
+ <docs-warning >It's usually better to use [ ` redirect ` ] [ redirect ] in [ ` loaders ` ] [ loaders ] and [ ` actions ` ] [ actions ] than this hook</docs-warning >
8
8
9
9
The ` useNavigate ` hook returns a function that lets you navigate programmatically, for example in an effect:
10
10
@@ -50,3 +50,5 @@ The `navigate` function has two signatures:
50
50
If using ` replace: true ` , the navigation will replace the current entry in the history stack instead of adding a new one.
51
51
52
52
[ redirect ] : ../fetch/redirect
53
+ [ loaders ] : ../route/loader
54
+ [ actions ] : ../route/action
You can’t perform that action at this time.
0 commit comments