3 ms·
The proposed solution seems to gloss over many of the trade-off's that you're making. > Most bugs can be solved by moving hooks away from the components Well
by gitgud 5y ago
The proposed solution seems to gloss over many of the trade-off's that you're making.
> Most bugs can be solved by moving hooks away from the components
Well you can't modify state from outside the component, and the context becomes harder less clear... to me hooks are still the best option.