table
table copied to clipboard
fix(react-table): fix improper state update on unmounted component
This commit addresses https://github.com/TanStack/table/issues/5026/, where react-table is performing a state update on an unmounted component. To address this, we add a useEffect to track whether the component on which the table is referenced is mounted.
I verified this fixes the console.error message React spits out during StrictMode in my local setup
any updates on this pr?
Would love a status update on this when possible 🙂
@tannerlinsley would be lovely if this PR is accepted.