Update hooks-effect.md (#2005)

This commit is contained in:
Brent
2019-05-16 16:35:06 -04:00
committed by Alex Krolick
parent a03df074ee
commit 06deefa567

View File

@@ -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}