# גלילה אינסופית - האם דיסקורס ממחזרת אלמנטים של DOM?

**URL:** <https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069>\
**Category:** Development\
**Created:** [4 בדצמבר,‏ 2021,‏ 1:09am UTC](https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069 "2021-12-04T01:09:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![spirobel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spirobel/32/170908_2.png) [@spirobel](https://meta.discourse.org/u/spirobel)\
**Post date:** [4 בדצמבר,‏ 2021,‏ 1:09am UTC](https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069/1 "2021-12-04T01:09:04Z")

</div>

I have a question regarding scroll: On android there is something called recyclerview [Create dynamic lists with RecyclerView | Android Developers](https://developer.android.com/guide/topics/ui/layout/recyclerview) It reuses components instead of adding more and more during a scroll. It seems like discourse does not do this? why is that? is there a different strategy used? I got the vague notion that the custom vdom widget system was created to address this issue (of an ever growing list of DOM elements) But to be honest I still dont get how that solves the issue. 😅 Maybe someone can shed some light on that 😃

---

_[View the full topic](https://meta.discourse.org/t/infinite-scroll-is-discourse-recycling-dom-elements/211069)._
