7.customHooks - sabinmarcu/jsleague-react-hooks GitHub Wiki
Therefore, any functionality created within a function, or any combination of hooks used can be abstracted into a single function called a Custom Hook.
It is both an incredibly simple concept, as a incredibly powerful concept. This way, functionality used throughout the application (or business, or the open source community, etc) can easily be abstracted, refactored and distributed.
It also allows for logic to be abstracted away from the rendering portion, without any over-head.