Access the loading state on client-side navigation #51924
luisherranz
started this conversation in
Interactivity API
Replies: 1 comment
-
Global state would make sense to me. If there is a core navigate function provided by the interactivity api, it would make sense that you can get the state of it as well. Standardizing this would help other blocks understand if something is loading without needing to know the namespace or any potential plugin. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We need to figure out a way to manage the loading states during navigation.
If we don't offer any API, people can get away with their own state:
But when the navigation is started by another block or directive, there needs to be a way to hook into it.
I haven't thought about this yet, but maybe there could be some global state that can be accessed by anyone, like:
Ideas/suggestions and use cases to figure out the requirements are welcomed.
Beta Was this translation helpful? Give feedback.
All reactions