Hacker News new | ask | show | jobs
by antihero 1694 days ago
I wouldn't say useEffect is a footgun, it just requires realising that React is doing shallow comparisons.
2 comments

To me, a footgun isn't necessarily something that is hard to understand, but also something that's easy to misuse even if you understand it.
very good point