Describe the bug
With two async memos downstream of an optimistic value, isPending stays false while loading the optimistic update. It correctly becomes true during the revert.
Your Example Website or App
https://s.olid.uk/id/oQ6V-U3oTRyzeG7Pm_rVYA
Steps to Reproduce the Bug or Issue
- Wait for initialization.
- Click the button.
- Pending stays false until the view becomes 1 / 1.
- During the revert, Pending correctly becomes true.
Expected behavior
Pending is also true while loading the optimistic value.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Firefox
Additional context
Bypassing the async copy memo and reading value() directly in the delayed memo makes the indicator work correctly.
Reproduced against next at 344ed05 and #3337 at 20f3143.
Describe the bug
With two async memos downstream of an optimistic value,
isPendingstays false while loading the optimistic update. It correctly becomes true during the revert.Your Example Website or App
https://s.olid.uk/id/oQ6V-U3oTRyzeG7Pm_rVYA
Steps to Reproduce the Bug or Issue
Expected behavior
Pending is also true while loading the optimistic value.
Screenshots or Videos
No response
Platform
Additional context
Bypassing the async copy memo and reading value() directly in the delayed memo makes the indicator work correctly.
Reproduced against next at 344ed05 and #3337 at 20f3143.