Skip to content

createInfiniteQuery expects pageParam to be a number #67

Closed
@bardonadam

Description

@bardonadam

Basically same problem as here TanStack/query#7458, ReactQuery can work with a non number pageParam. Looks like this is not supported in the react-query-kit yet.

What I'm trying to achieve - the API I'm working with returns complex cursor that looks like this:

"next": [
    "1651185545000",
    "53671934072718793"
]

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