DEV Community

Discussion on: Optimizing Lists in React - Solving Performance Problems and Anti-patterns

Collapse
 
zyabxwcd profile image
Akash

Loved the article. Hungry for more. :) You explained it so well (this could have gotten confusing very easily along the way and then the reader would just lose all the interest) and also tackled the questions a person would be thinking of intuitively while reading. BTW whats that missing spot? I thought about it a little bit and said to myself that if I break it down, there is only list and list items in the UI and you have already memoized list item, which is the root element. There seems to be nothing more to it. But interestingly, believing you it seems that there is more than meets the eye.

Collapse
 
federicoterzi profile image
Federico Terzi

Thanks! Glad you liked it :)

I thought about it a little bit and said to myself that if I break it down, there is only list and list items in the UI and you have already memoized list item, which is the root element. There seems to be nothing more to it. But interestingly, believing you it seems that there is more than meets the eye.

Not sure I got your point, what do you mean? :)