News for hackers. Stuff that matters.
Re:Oxlint – written in Rust – 50-100 Times Faster than ESLint by davedx on Saturday December 16, 2023 @01:22PM (#38666505)
Having to specify every single closure in dependencies does nothing. Not every dependency has to be specified. Not specifying a dependency is not always a bug.

Honestly if not exhaustively putting some closures in your useEffect deps list is your idea of a “maintenance nightmare” then maybe you should stay away from real production code bases? There are plenty of hairier mistakes and patterns out there than that.

There are no comments on this comment yet.