From cb73d608d29da156ef052314599ef9cea5c3e55a Mon Sep 17 00:00:00 2001 From: sgpinkus Date: Fri, 23 Sep 2022 22:29:28 +1000 Subject: [PATCH] docs: beforeRouteEnter next callback (#1560) Co-authored-by: Eduardo San Martin Morote --- packages/docs/guide/advanced/data-fetching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/guide/advanced/data-fetching.md b/packages/docs/guide/advanced/data-fetching.md index c372f237..e0725abe 100644 --- a/packages/docs/guide/advanced/data-fetching.md +++ b/packages/docs/guide/advanced/data-fetching.md @@ -71,7 +71,7 @@ export default { ## Fetching Before Navigation With this approach we fetch the data before actually navigating to the new -route. We can perform the data fetching in the `beforeRouteEnter` guard in the incoming component, and only call `next` when the fetch is complete: +route. We can perform the data fetching in the `beforeRouteEnter` guard in the incoming component, and only call `next` when the fetch is complete. The callback passed to `next` will be called **after the component is mounted**: ```js export default { -- 2.47.2