News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by duderific on Wednesday June 18, 2025 @06:25PM (#44313796)
I find myself doing a mix of both. Source maps are good enough most of the time, I haven't seen the bizarre failures you're seeing - maybe your bundling configuration needs some tweaking? But yes, the frequent re-renders are obnoxious. In those cases logging is generally better.

Conditional breakpoints help alleviate the pain when there are frequent re-renders. Generally you can pinpoint a specific value that you're looking for and only pause when that condition is satisfied. Setting watch expressions helps a lot too.

There are no comments on this comment yet.