Skip to content
Discussion options

You must be logged in to vote

You'll want to use the dependencies array for the collection on TableBody so we know when to invalidate the cache and re-render the items. That's the reason that users.map works, it's never cached.
https://react-spectrum.adobe.com/react-aria/Table.html#content

Otherwise, you'll want to move the state for show modal inside a component that gets rendered inside a Cell.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slackermorris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants