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
I've just implemented loaders in one of my applications and i found out that the fallbackElement its not showing between routes when destination route has a loader causing some kind of freeze effect while waiting for loader to end its job. Ill find useful to have some kind of flag/prop in RouterProvider that tells the provider to show fallbackElement whenever the navigation state is loading. I thought that a boolean prop can be added, whith a name like showFallbackOnLoading so the devs that dont want the new behaviour dont have to make nothing,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've just implemented loaders in one of my applications and i found out that the
fallbackElement
its not showing between routes when destination route has aloader
causing some kind of freeze effect while waiting for loader to end its job. Ill find useful to have some kind of flag/prop inRouterProvider
that tells the provider to showfallbackElement
whenever the navigation state isloading
. I thought that a boolean prop can be added, whith a name likeshowFallbackOnLoading
so the devs that dont want the new behaviour dont have to make nothing,Beta Was this translation helpful? Give feedback.
All reactions