Advanced Logic Sharing An HOC is a function that takes a component and returns a new component. Learn its use cases.