T
TanStack3y ago
vicious-gold

setPageIndex() works on button event but doesn't work in useEffect

it only updates and rerenders the table if I wrap setPageIndex with a setTimeout.
1 Reply
conscious-sapphire
conscious-sapphire3y ago
Are you calling the function?

Did you find this page helpful?