Describe the bug
Updating a signal again while its async memo chain is pending can make one JSX expression show mismatched values. The repro displays 0 / 0 → 2 / 1 → 2 / 2, even though both memos just forward the signal's value.
Your Example Website or App
https://s.olid.uk/id/iP5gJf0HRSGuTKCEGVKrLA
Steps to Reproduce the Bug or Issue
- Wait for
0 / 0 to appear.
- Click Run.
- See
2 / 1 appear before settling at 2 / 2.
Expected behavior
Both numbers should always match.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Firefox
Additional context
Reproduces on next at f8b40b7 and #3337 at 20f3143.
Making either memo synchronous removes the mismatch.
Describe the bug
Updating a signal again while its async memo chain is pending can make one JSX expression show mismatched values. The repro displays
0 / 0 → 2 / 1 → 2 / 2, even though both memos just forward the signal's value.Your Example Website or App
https://s.olid.uk/id/iP5gJf0HRSGuTKCEGVKrLA
Steps to Reproduce the Bug or Issue
0 / 0to appear.2 / 1appear before settling at2 / 2.Expected behavior
Both numbers should always match.
Screenshots or Videos
No response
Platform
Additional context
Reproduces on next at f8b40b7 and #3337 at 20f3143.
Making either memo synchronous removes the mismatch.