We identified that the PR's addition of matches[0]?.status !== 'success' to the cold-load guard incorrectly suppressed the synchronous offerPending call for routes whose root has no loader (giving it an immediate status: 'success'). This caused a blank "shell" frame to appear before the pending component because the onReady-path fallback fires one microtask too late. Removing the condition restores the pre-regression behaviour while leaving all other context-preservation changes intact.
This code change can't be applied
A fix is available, but it can't be applied automatically because the branch is outdated. Please sync the branch, then apply the fix locally below.
Self-Healing CI
Classification: Code change needed
Fix generated
Verified 2 tasks
Commit"fix(router-core): restore offerPending on cold loads"
1 file changed
+6/−6