Hacker News new | ask | show | jobs
by ummonk 1477 days ago
Don’t use state in a loop unless you have to? Avoiding such use of state also makes code a lot easier to read and debug - the performance benefits are really just a bonus.