Hacker News new | ask | show | jobs
by matsemann 1573 days 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.
1 comments

Sure, if you put side effects in your react components, you're gonna have a bad time <insert South Park meme>.