Hacker News new | ask | show | jobs
by cageface 1698 days ago
If you just blindly follow the eslint suggestions you can very easily wind up with render loops. You need to carefully consider and understand the dependencies in each case. And if you want to do something specific when only one of your dependencies changes you need even more gymnastics.
1 comments

The reason you end up with render loops is usually because you didn’t memo something. If you memo everything you can avoid that issue.