Skip to content

How to use React-Query with RAC Table? #4916

Answered by devongovett
binaryartifex asked this question in Q&A
Discussion options

You must be logged in to vote

No, the useAsyncList hook is totally optional. So you'd just pass the list of items to the TableBody items prop. You could look at the dynamic collections example in the docs. Rather than using a static array for the items you could pass the items that you get from react-query.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by binaryartifex
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