I recently joined a company where they use a lot of custom hooks for separating logics at the level of a component.

When to break up a component into multiple components