Describe the bug
isPending(() => deep(optimisticStore))
is false when optimisticStore is during transition, only becomes true when optimisticStore is refreshed
Your Example Website or App
https://s.olid.uk/id/ECUPBmFWSvOdd6u2hqtpRg
Steps to Reproduce the Bug or Issue
- Go to link
- Click the button
- See that Count changed immediately (via optimistic update), but
isPending(() => deep(optimisticStore)) doesn't change immediately, it waits for refresh, only when refreshing it's true
Expected behavior
isPending(() => deep(optimisticStore)) should be true for transition too
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Chrome
- Version: 2.0.0-beta.14
Additional context
No response
Describe the bug
is false when
optimisticStoreis during transition, only becomes true whenoptimisticStoreis refreshedYour Example Website or App
https://s.olid.uk/id/ECUPBmFWSvOdd6u2hqtpRg
Steps to Reproduce the Bug or Issue
isPending(() => deep(optimisticStore))doesn't change immediately, it waits forrefresh, only when refreshing it's trueExpected behavior
isPending(() => deep(optimisticStore))should be true for transition tooScreenshots or Videos
No response
Platform
Additional context
No response