🌿 Storage, sync & realtime for local-first web apps. Build an app in minutes, deploy as a static page, and add sync with a few lines.
GNU Affero General Public License v3.0
188
stars
4
forks
source link
list.move() not working #416
Closed
a-type closed 1 month ago
Something is up with the view computation and caching.
Move operations appear correctly applied/stored on Entity.
Entity list retains original ordering (I think?)
If I call invalidateCachedView() the immediate view value is correct to the reoredered list.
Running this
Shows that rawView is the same now and after the task fires.
But running this
Shows that cachedView reverts after the task fires.
So something running in a task / microtask is reverting the cached view???