2 ms·
If you have dozens of components with dozens of uncontrolled side effects executing in unpredictable order, then nothing is going to help you until you get thos
by chuckadams 3y ago
If you have dozens of components with dozens of uncontrolled side effects executing in unpredictable order, then nothing is going to help you until you get those effects under control. It'll still be bad architecture with or without hooks.
- brigadier132 3y ago> It'll still be bad architecture with or without hooks The companies I've worked with had hundreds of engineers contributing to the react codebases and people are just trying to crank out features by the deadline. I'd rather just work with tools that don't require the usage of such obvious footguns. You can code solid-js and svelte and never use effects (even though they do offer them unfortunately).
- chuckadams 3y agoHundreds of developers all doing their own thing sounds like a recipe for said bad architecture.
- brigadier132 3y ago> Hundreds of developers all doing their own thing sounds like a recipe for said bad architecture This is the how the majority of tech companies operate. > but I know better than to single out the tool for every judgment on design. I disagree, most react developers are not even aware of this massive foot gun. I do blame tools for problems that are completely avoided by other tools, we can just consider this a difference in philosophy but I prefer to use tools that make as many types of mistakes impossible as they can.