Re:Airbnb Releases Infinity.js: A Javascript Library for Smo...
by hueyp on Friday August 17, 2012 @02:35AM
(#4395340)
And from the comment above:
"...but because there are fewer elements in the DOM tree, relayouts are cheaper as well"
If I understand, this also applies? When I add the 400th (or whatever) ListItem it does trigger a layout when its added to the dom (to calculate its dimensions) but its much faster due to only having the currently viewable ListItems contained in the ListView?
"...but because there are fewer elements in the DOM tree, relayouts are cheaper as well"
If I understand, this also applies? When I add the 400th (or whatever) ListItem it does trigger a layout when its added to the dom (to calculate its dimensions) but its much faster due to only having the currently viewable ListItems contained in the ListView?
Thanks again!