You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/API.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,7 +256,7 @@ code-splitting.
256
256
Routes can be nested, `this.props.children` will contain the element created from the child route component. Please refer to the [Route Configuration](/docs/guides/basics/RouteConfiguration.md) since this is a very critical part of the router's design.
Called when a route is about to be entered. It provides the next router state and a function to redirect to another path.
259
+
Called when a route is about to be entered. It provides the next router state and a function to redirect to another path.`this` will be the route instance that triggered the hook.
260
260
261
261
If `callback` is listed as a 3rd argument, this hook will run asynchronously, and the transition will block until `callback` is called.
0 commit comments