connectrpc / connect-query-es

TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers.

Home Page:https://connectrpc.com/docs/web/query/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove pageParamKey from queryKey in useInfiniteQuery

paul-sachs opened this issue · comments

Related to #43 there is some potential confusion because we encode the contents of the incoming message into the key of the query, including pagination information which changes actively due to change of pagination.

Omitting pageParamKey may be sufficient but also may not cover everything (like if the page param is deeply nested in the message).