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
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
I have a special love for navigator progress。how to Implement? i try use AOP program type override history.pushState but i find could not,error forbidden me to do that。Did not found router lifecycle hooks when i reading source code. emmm.... did you have any idea to solve it。
i think use setInterval listen the location.href is not good idea。 because i want show preload return data status 。eg. success is green style, error is red style。
The text was updated successfully, but these errors were encountered:
This can be done with the top-level preloading property, which is true when you start navigating and false once it succeeds. In your root layout component you could do something like this:
Typically you would only want to show a preloading indicator after ~250ms — many navigations will complete in under that time, and will feel instant, in which case an indicator feels unnecessarily jarring.
I have a special love for navigator progress。how to Implement? i try use AOP program type override history.pushState but i find could not,error forbidden me to do that。Did not found router lifecycle hooks when i reading source code. emmm.... did you have any idea to solve it。
i think use setInterval listen the location.href is not good idea。 because i want show preload return data status 。eg. success is green style, error is red style。
The text was updated successfully, but these errors were encountered: