3 ms·
It's a bit light on hooks and heavy on HOCs. For people starting new React projects, HOCs are probably worth avoiding in favor of hooks when possible. That's ju
by lucasmullens 5y ago
It's a bit light on hooks and heavy on HOCs. For people starting new React projects, HOCs are probably worth avoiding in favor of hooks when possible. That's just my opinion, but I think it's a widely shared one.
That whole User/UserRead/ReacHOC thing could be much more readable if there was just a useUser() hook instead.