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
The `loader` function receives a single object with the following properties:
72
72
73
73
-`abortController` - The route's abortController. Its signal is cancelled when the route is unloaded or when the Route is no longer relevant and the current invocation of the `loader` function becomes outdated.
74
-
-`cause` - The cause of the current route match, either `enter` or `stay`.
74
+
-`cause` - The cause of the current route match. Can be either one of the following:
75
+
-`enter` - When the route is matched and loaded after not being matched in the previous location.
76
+
-`preload` - When the route is being preloaded.
77
+
-`stay` - When the route is matched and loaded after being matched in the previous location.
75
78
-`context` - The route's context object, which is a merged union of:
76
79
- Parent route context
77
80
- This route's context as provided by the `beforeLoad` option
0 commit comments