⇠ chan.dev/ lessons/ reactholiday / 2019

Extract Custom Hooks

Just like components, Hooks can be composed and extracted.

When it’s time to extract a Hook, we just create a new function that returns data.

Assignment Sandbox: https://codesandbox.io/s/react-holiday-day-8-tixow