Skip to content

Commit b0c247c

Browse files
committed
Add comment for Intersection Observer fallback
1 parent 7eb2394 commit b0c247c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/hydration-blocker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export function makeHydrationBlocker(component, options) {
2828
const observerOptions = this.whenVisible !== true ? this.whenVisible : undefined;
2929
const observer = makeHydrationObserver(observerOptions);
3030

31+
// If Intersection Observer API is not supported, hydrate immediately.
3132
if (!observer) {
3233
this.hydrate();
3334
return;

0 commit comments

Comments
 (0)