2 ms·
Hooks are an alternative to HOCs and RPs. Their bad part is, they add another concept besides components. Their good part is, they allow to convert non-displa
by k__ 8y ago
Hooks are an alternative to HOCs and RPs.
Their bad part is, they add another concept besides components.
Their good part is, they allow to convert non-display components to hooks, which removes the guessing of where the logic is stored.