What if I want to trigger <Suspense> when switching routes?
What problem does this feature solve?
I want to achieve the effect of the title, but it is not supported at present. It will only be triggered when entering the route for the first time, but not when switching routes. Will it be considered to support it in the future?
What does the proposed API look like?
<Suspense></Suspense>
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
You are trying to achieve data refreshing. You can still achieve it with a key
on the component on the RouterView slot.