Building your own Hooks lets you extract component logic into reusable functions.
Visit the following resources to learn more: