Skip to content

React Query can't serialize cache with bigint values #12

@julia-script

Description

@julia-script

My app has many queries that return big int values. When I try to setup rn-better-dev-tools, the app throws "Warning: TypeError: Do not know how to serialize a BigInt"

Image

would it be possible to use something like superjson to serialize and deserialize data sent to the external dev tools, or allow for custom stringify and parse functions on the options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions