You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this should be on by default. It inherently results in the query results becoming asynchronous which in React can cause issues if you are binding an input (such as a text input) to a collection value. I would caution against making a collection, or db/global config for that reason, it would have side effects if not on initially, and then turned on later.
Problem
Currently, every mutation or sync triggers immediate reactivity and query invalidation.
In high-update scenarios (e.g., rapid optimistic updates, bulk sync events), this causes excessive re-rendering, layout thrashing, degraded scroll performance, and input lag.
Debouncing is not suitable because it would delay the first user-driven update, breaking perceived responsiveness.
Optimistic updates must render immediately. Only subsequent updates need rate limiting.
Proposed Solution
Introduce throttling of query invalidation and reactivity notifications.
Behavior
Default Settings
8.3333ms
.API Design
Global configuration:
Optional per-query override:
Design Principles
Constraints
Future Work
The text was updated successfully, but these errors were encountered: