You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug selectedFlatRows keeps changing, triggering effects dependent on it.
To Reproduce
Set up an effect dependent on selectedFlatRows. See codesandbox below.
Expected behavior selectedFlatRows should only change when row selection changes.
Codesandbox!
In the codesandbox below, open the console and then switch the version of react-table from beta.16 to rc.5.
You will see endless logging and eventually reach maximum callstack. https://codesandbox.io/s/zealous-moore-7zxyr
Screenshots
N/A
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
react-table version rc.5
Additional context
Add any other context about the problem here.
Make sure you're using the latest release candidate version of React Table. This issue was solved in a version after the one you are using. If you keep having issues, please comment to reopen.
Describe the bug
selectedFlatRows
keeps changing, triggering effects dependent on it.To Reproduce
Set up an effect dependent on
selectedFlatRows
. See codesandbox below.Expected behavior
selectedFlatRows
should only change when row selection changes.Codesandbox!
In the codesandbox below, open the console and then switch the version of react-table from beta.16 to rc.5.
You will see endless logging and eventually reach maximum callstack.
https://codesandbox.io/s/zealous-moore-7zxyr
Screenshots
N/A
Desktop (please complete the following information):
react-table version rc.5
Additional context
Add any other context about the problem here.
P.S.
Possibly related to #1739?
The text was updated successfully, but these errors were encountered: