refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] useTable does not pass the params Ids to the live provider.

Open devarsh-mavani-19 opened this issue 5 months ago • 0 comments

Describe the bug

I have a live provider similar to this one https://github.com/refinedev/refine/blob/main/packages/ably/src/index.ts

Now for example I am on page 5 of table and there is an update on page 1, i.e. The ID is not there on current page, it still refetches the page.

I logged the params?.ids and it is always undefined for useTable hook.

Steps To Reproduce

  1. add a useTable hook with server side pagination and live provider similar to this one setup https://github.com/refinedev/refine/blob/main/packages/ably/src/index.ts
  2. now trigger an update on another page, while currently viewing a different page.

Expected behavior

Expected behaviour would be that useTable hook passes the params.Ids based on existing data.

Packages

"@refinedev/antd": "5.36.2",
"@refinedev/core": "4.54.0",
"@refinedev/react-router-v6": "4.5.0",
"@refinedev/simple-rest": "^5.0.8",

Additional Context

No response

devarsh-mavani-19 avatar May 16 '25 09:05 devarsh-mavani-19