Skip to content

Why does my react-aria custom grid list not update correctly #6211

Answered by reidbarber
marcuslindfeldt asked this question in Q&A
Discussion options

You must be logged in to vote

Using the items prop and providing a render function allows React Spectrum to automatically cache the results of rendering each item and avoid re-rendering all items in the collection when only one of them changes. This has big performance benefits for large collections.

Does this page from the docs help?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@marcuslindfeldt
Comment options

Answer selected by marcuslindfeldt
Comment options

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