Describe the bug
After two updates to a Loading boundary's on value, it leaves its fallback before the new details are ready. The repro shows Details: 0 → Loading... → Details: 0 → Details: 3. The second 0 is stale: the displayed sum is already 3.
Your Example Website or App
https://s.olid.uk/id/KASyYgRqQcqR9mASsJOqbA
Steps to Reproduce the Bug or Issue
- Wait for Sum and Details to show 0.
- Click Run.
- Loading disappears and the old Details: 0 returns for two seconds before Details: 3 arrives.
Expected behavior
Keep the loading fallback until the new details are ready, then show Details: 3.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Firefox
Additional context
Reproduces on next at f8b40b7 (development and production) and #3337 at 20f3143.
Removing either setCount(1) or the second page update prevents the stale reveal.
Describe the bug
After two updates to a Loading boundary's
onvalue, it leaves its fallback before the new details are ready. The repro showsDetails: 0 → Loading... → Details: 0 → Details: 3. The second 0 is stale: the displayed sum is already 3.Your Example Website or App
https://s.olid.uk/id/KASyYgRqQcqR9mASsJOqbA
Steps to Reproduce the Bug or Issue
Expected behavior
Keep the loading fallback until the new details are ready, then show Details: 3.
Screenshots or Videos
No response
Platform
Additional context
Reproduces on next at f8b40b7 (development and production) and #3337 at 20f3143.
Removing either
setCount(1)or the second page update prevents the stale reveal.