We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58bb0ce + 147deb0 commit 5d8b9c3Copy full SHA for 5d8b9c3
docs/Glossary.md
@@ -126,7 +126,7 @@ The word *params* refers to an object of key/value pairs that were parsed out of
126
## RedirectFunction
127
128
```js
129
-type RedirectFunction = (pathname: Pathname | Path, query: ?Query, state: ?LocationState) => void;
+type RedirectFunction = (state: ?LocationState, pathname: Pathname | Path, query: ?Query) => void;
130
```
131
132
A *redirect function* is used in [`onEnter` hooks](#enterhook) to trigger a transition to a new URL.
0 commit comments