5 ms·
> hooks are the model Unless you mock a hook at the module import level (which is hacky), you lose the easy testability of your component. That's long been bot
by azangru 5y ago
> hooks are the model
Unless you mock a hook at the module import level (which is hacky), you lose the easy testability of your component. That's long been bothering me about hooks, although I use them plenty.