Kyle Shevlin
useEncapsulation: Using React Hooks Sensibly
React.js
JavaScript
React Hooks are powerful primitives for adding functionality to React components, but they can be confusing and difficult to manage. Luckily, there's a pattern that fixes this: encapsulation. Learn how to apply encapsulation to your React Hooks.
About Kyle Shevlin
![photo of Kyle Shevlin](https://create-4jr.begin.app/_static/2021/kyle-shevlin.jpg)