Skip to content

Commit

Permalink
Update hooks.md
Browse files Browse the repository at this point in the history
In response to reduxjs#1404 

@markerikson let me know if you aren't happy with the wording for any reason.
  • Loading branch information
GGAlanSmithee committed Sep 27, 2019
1 parent 6c873c7 commit 40b313f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/hooks.md
Expand Up @@ -428,3 +428,7 @@ export function useShallowEqualSelector(selector) {
return useSelector(selector, shallowEqual)
}
```

### Additional considerations when using hooks

There are some architectural trade offs to take into consideration when deciding whether to use hooks or not. Mark Erikson summarizes these nicely in his two blog posts [Thoughts on React Hooks, Redux, and Separation of Concerns](https://blog.isquaredsoftware.com/2019/07/blogged-answers-thoughts-on-hooks/) and [Hooks, HOCs, and Tradeoffs](https://blog.isquaredsoftware.com/2019/09/presentation-hooks-hocs-tradeoffs/).

0 comments on commit 40b313f

Please sign in to comment.