- React
- React Boston
- 2019
- Hooks, HOCS, and Tradeoffs
Hooks, HOCS, and Tradeoffs
Mark Erikson at React Boston 2019
React hooks have become widespread since their introduction, and React-Redux recently introduced a new hooks API as an alternative to the traditional `connect()` HOC. Many React developers have questions about how these approaches differ. We'll look at some of the strengths, weaknesses, and tradeoffs for both hooks and HOCs in general, and what this means for React-Redux users specifically as they decide how to write their applications.