Thanks to visit codestin.com
Credit goes to github.com

Skip to content

2.0.0-rc Repeating a signal write after remounting its async reader publishes it early #3374

Description

@GabbeV

Describe the bug

Remounting an async reader and then repeating the pending signal write makes the signal publish before its derived value. The repro briefly shows Count: 1 alongside Details: 0.

Your Example Website or App

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

Steps to Reproduce the Bug or Issue

  1. Wait for both values to show 0.
  2. Click Run.
  3. Count changes to 1 while Details stays 0 for another second.

Expected behavior

Count and Details should update together.

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 setVersion(2) or the second setCount(1) makes the values update together.

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