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
Here are discussions: vuejs/vue-router#1144vuejs/vue#7209vuejs/pinia#988
There are cases where you need some data fetched before other components are initialized (mount hook called), for example authentication checked or user data fetched.
Currently need to use watches, which might be multiple, instead of a simple mounted hook in child components.
What does the proposed API look like?
Just the same as serverPrefetch, but on client.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Here are discussions: vuejs/vue-router#1144 vuejs/vue#7209 vuejs/pinia#988
There are cases where you need some data fetched before other components are initialized (mount hook called), for example authentication checked or user data fetched.
Currently need to use watches, which might be multiple, instead of a simple mounted hook in child components.
What does the proposed API look like?
Just the same as serverPrefetch, but on client.
The text was updated successfully, but these errors were encountered: