Skip to content

Commit f00ca4a

Browse files
committed
comment: Explain what entry represents
1 parent 463e9c2 commit f00ca4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Renderer/QueryRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ class QueryRenderChild extends MarkdownRenderChild {
180180
}
181181

182182
for (const entry of entries) {
183+
// entry describes a single visibility change for the specific element we are observing.
183184
if (entry.isIntersecting) {
184185
this.queryResultsRenderer.query.debug(
185186
`[render][observer] Became visible, isCacheChangedSinceLastRedraw:${this.isCacheChangedSinceLastRedraw}`,

0 commit comments

Comments
 (0)