Skip to content

Add Playwright tests for react-db useLiveQuery #493

@samwillis

Description

@samwillis

React in the browser does concurrent rendering, this caused a bug in useLiveQuery where it would not show the initial state despite our tests checking this exact scenario. In order to truly validate the hook we need to test in a browser environment.

Relate issues #483 #437 that were fixed in #485 but without a test that reproduced the bug.

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