Skip to content
Discussion options

You must be logged in to vote

What React renders vs what is rendered into the dom are two different things due to our Collections implementation. We can see here that only elements up to 60 are rendered to the dom.
We do a shallow render (cheap) of entire collections so that we know the total number of items, how to link various aria attributes, how much space to account for on the scrollbar, etc, but just because we look at the whole thing does not mean we send it all to the dom (expensive)

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@rolanday
Comment options

@snowystinger
Comment options

@rolanday
Comment options

@snowystinger
Comment options

Answer selected by snowystinger
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