Skip to content

Commit bda26fc

Browse files
committed
adjust linter note
1 parent 2b0fac5 commit bda26fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/separating-events-from-effects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ function Page({ url }) {
713713
}
714714
```
715715
716-
After `useEffectEvent` becomes a stable part of React, we recommend **never suppressing the linter**.
716+
We recommend **never suppressing the linter**.
717717
718718
The first downside of suppressing the rule is that React will no longer warn you when your Effect needs to "react" to a new reactive dependency you've introduced to your code. In the earlier example, you added `url` to the dependencies *because* React reminded you to do it. You will no longer get such reminders for any future edits to that Effect if you disable the linter. This leads to bugs.
719719

0 commit comments

Comments
 (0)