mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Update hooks-effect.md (#2005)
This commit is contained in:
@@ -333,7 +333,7 @@ function FriendStatusWithCounter(props) {
|
||||
}
|
||||
```
|
||||
|
||||
**Hooks lets us split the code based on what it is doing** rather than a lifecycle method name. React will apply *every* effect used by the component, in the order they were specified.
|
||||
**Hooks let us split the code based on what it is doing** rather than a lifecycle method name. React will apply *every* effect used by the component, in the order they were specified.
|
||||
|
||||
### Explanation: Why Effects Run on Each Update {#explanation-why-effects-run-on-each-update}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user