Skip to content

Commit 3996b92

Browse files
committed
Update wording
1 parent 37a3b84 commit 3996b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/Fragment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ function MyComponent() {
305305
}
306306
```
307307
308-
This pattern is an alternative to effect-based visibility logging, which is usually not what you want since you don't know of the element you're targeting is in the viewport.
308+
This pattern is an alternative to effect-based visibility logging, which is an anti-pattern in most cases. Relying on effects alone does not guarantee that the rendered component is observable by the user.
309309
310310
---
311311

0 commit comments

Comments
 (0)