3 ms·
That would be true if all a react component was dom output. But since it has side effects (rest calls, mutating state, effects), rerunning everything is the wro
by matsemann 5y ago
That would be true if all a react component was dom output. But since it has side effects (rest calls, mutating state, effects), rerunning everything is the wrong thing to do in almost all instances.
- aidenn0 5y agoSure, if you put side effects in your react components, you're gonna have a bad time <insert South Park meme>.