mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Remove redundant "reading" word from hooks faq (#2036)
This commit is contained in:
committed by
Alex Krolick
parent
04f3dc58db
commit
2dccf4699d
@@ -656,7 +656,7 @@ Note that in the above example we **need** to keep the function in the dependenc
|
||||
|
||||
### What can I do if my effect dependencies change too often? {#what-can-i-do-if-my-effect-dependencies-change-too-often}
|
||||
|
||||
Sometimes, your effect may be using reading state that changes too often. You might be tempted to omit that state from a list of dependencies, but that usually leads to bugs:
|
||||
Sometimes, your effect may be using state that changes too often. You might be tempted to omit that state from a list of dependencies, but that usually leads to bugs:
|
||||
|
||||
```js{6,9}
|
||||
function Counter() {
|
||||
|
||||
Reference in New Issue
Block a user