TanStackT
TanStack2y ago
2 replies
sad-indigo

Updating props not updating table data

Hey all,

I have a bit of a problem. When I am passing data as a prop from a parent component to my useReactTable hook the initial render is fine.

However when the prop data changes the data within the table context remains the same.

What am I doing incorrectly?

I can see that the data prop is indeed showing the updated data but the table.getRowModel().rows still shows the old data
Was this page helpful?