Remove misleading comment

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-12 14:49:32 +05:30
parent 9a00143623
commit 4cb9adc9ea

View File

@ -123,7 +123,6 @@ export class LazyListView extends ListView {
this._parent = el("div", {className: "LazyListParent"}, root); this._parent = el("div", {className: "LazyListParent"}, root);
/* /*
Hooking to scroll events can be expensive. Hooking to scroll events can be expensive.
But in most of these scroll events, we return early.
Do we need to do more (like event throttling)? Do we need to do more (like event throttling)?
*/ */
this._parent.addEventListener("scroll", () => this._renderIfNeeded()); this._parent.addEventListener("scroll", () => this._renderIfNeeded());