Skip to content

ConvexHttpClient.consistentQuery is deprecated and throwing intermittent errors in SSR #16

Open
@warmbowski

Description

@warmbowski

https://github.com/get-convex/convex-react-query/blob/368c7636ad890bbd3cde17b903968aec148f1640/src/index.ts#L327C24-L327C46

I get errors referencing this line in my convex application during SSR. I wonder if this should be removed and replaced with ConvexHttpClient.query as .consistenQuery is deprecated/experimental. I tested with .query and SSR seems to work fine and not throw errors with the same application and queries.

Glad to make a PR that addresses this issue and my previously created issue #15 if making the suggested changes sounds good.

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