Skip to content

Deleting RxDB rows does not persist to localStorage #630

@daveycodez

Description

@daveycodez

I just made a very simple example where I am using only RxDB with TanStackDB, I'm able to add rows just fine. The only issue is when you delete a row, it deletes properly, but if you refresh the page, the row comes back, and it is impossible to delete it. This only occurs with localStorage, not memory adapter.

This must be an issue with creating an rxdbCollection, since it breaks as soon as you refresh the page and it brings back old deleted rows from RxDB. Maybe related to not correctly filtering out _deleted: true rows?

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