Skip to content

Commit 5340138

Browse files
committed
prettier
1 parent 9b68277 commit 5340138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.changeset/open-zebras-remain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ Fix UI responsiveness issue with rapid user interactions in collections
77
Fixed a critical issue where rapid user interactions (like clicking multiple checkboxes quickly) would cause the UI to become unresponsive when using collections with slow backend responses. The problem occurred when optimistic updates would back up and the UI would stop reflecting user actions.
88

99
**Root Causes:**
10+
1011
- Event filtering logic was blocking ALL events for keys with recent sync operations, including user-initiated actions
1112
- Event batching was queuing user actions instead of immediately updating the UI during high-frequency operations
1213

1314
**Solution:**
15+
1416
- Added `triggeredByUserAction` parameter to `recomputeOptimisticState()` to distinguish user actions from sync operations
1517
- Modified event filtering to allow user-initiated actions to bypass sync status checks
1618
- Enhanced `emitEvents()` with `forceEmit` parameter to skip batching for immediate user action feedback

0 commit comments

Comments
 (0)