Skip to content

React Example - Uncaught Error: Object not found in collection #86

@jolbol1

Description

@jolbol1

Using the react todo example provided.

When you add or update a todo, you cannot perform any more actions on that todo until the next refetch occurs. Despite the todos being invalidated by the action. This means I have to wait up to 3 seconds to perform an action.

It seems the reference in collection.state.values() does not match the one stored in objectKeyMap anymore?

Same issue occurs with both Electric & Query Collections.

Bug.mp4

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