Skip to content

usePacedMutations value regression while persisting #1060

Description

@fcannizzaro
  • I've validated the bug against the latest version of DB packages

Describe the bug
(I tested this using only electric)
It seems there is a regression (to the latest value before any optimistic update) in collection's data using paced mutations while persisting (that also causes a re-render, that seems an ui glitch).

It seems similar to #904, but the behavior is somehow different.

To Reproduce
https://github.com/fcannizzaro/tanstack-db-previous-value/

Expected behavior
It should keep the latest value while persisting (like the non paced mutation)

Screenshots

UI Logs
Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions