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
RRR has a few goals to have a flat routing, the ability to preload code or data is one of them. But we cannot use this ability "properly" out of the box.
It might provide a better user experience(in terms of perceived performance and layout trashing) if RRR can delay the transition until:
code for the new location is loaded. Custom code is required to check/preload route target.
data for the new location loaded/present. Resource information might need to be extended to indicate the importance of it and describe should it be "transition blocking" or not.
Minimal implementation:
patch history to override .push
match new URL to the set of given
manually handle components, resources and any/or other fields
call original .push when required promises are resolved.
Ideally that history patch should be built-in functionality and resource management can be implemented only "inside" RRR.
The text was updated successfully, but these errors were encountered:
RRR has a few goals to have a flat routing, the ability to preload code or data is one of them. But we cannot use this ability "properly" out of the box.
It might provide a better user experience(in terms of perceived performance and layout trashing) if RRR can delay the transition until:
Minimal implementation:
history
to override.push
components
,resources
and any/or other fields.push
when required promises are resolved.Ideally that history patch should be built-in functionality and resource management can be implemented only "inside" RRR.
The text was updated successfully, but these errors were encountered: