evolu@0.7.1
github-actions
released this
10 Jan 16:48
·
1446 commits
to main
since this release
Patch Changes
-
c171392: Run mutate onComplete after React flushSync
Using mutate onComplete is rare because Evolu updates active queries automatically. We need onComplete typically when dealing with DOM, for example, moving focus for keyboard navigation. For such cases, onComplete must be called when DOM is already updated, and this update ensures it via React flushSync.