Skip to content

Add Playwright tests for react-db useLiveQuery #493

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.

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