Skip to content

Resetting Loading reveals stale content while async work is still pending #3459

Description

@GabbeV

Describe the bug

Changing Loading's on while Slow is pending reveals content with B showing 1 and Slow showing 0. Slow derives directly from B.

Your Example Website or App

https://s.olid.uk/id/Wa1D4spxSq6NeXRu1ee4Hg

Steps to Reproduce the Bug or Issue

  1. Wait for the initial Loading fallback to disappear.
  2. Click Run.
  3. After about half a second, B and Fast show 1 while Slow still shows 0.

Expected behavior

The reset boundary should keep its fallback visible until its content is ready to reveal consistently.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Firefox

Additional context

Reproduces on next at 0d8347a.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions