Custom Hook

A custom Hook is your own reusable function that bundles together React Hooks to share stateful logic between components.