T
TanStack3y ago
absent-sapphire

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
other-emerald
other-emerald3y ago
Are you calling the function?

Did you find this page helpful?