I'm developing an app with React Query and React Table but table seems to break when I change the query key, thus causing the website to crash.
I opened an issue on their GH but I still have no response and really need a hand.
Here is a minimal reproduction of the issue: codesanbox
The crash happens when rendering the table (the table.getRowModel()
function to be exact), not when defining the actual columns or table. It also only happens when UPDATING the query keys, everything works fine on initial render.
Many thanks, Herbie