News for hackers. Stuff that matters.
Re:Why I don't miss React: a story about using the platform by branko_d on Wednesday May 04, 2022 @12:37AM (#31256811)
Wouldn't the debugger break on exception? So any exceptions used in "nonexceptional" situations have a potential to "pollute" the debugging experience?

Admittedly, I haven't tried debugging React 18 yet, so I don't know if that actually happens in practice.

Re:Why I don't miss React: a story about using the platform by eyelidlessness on Wednesday May 04, 2022 @01:57AM (#31257172)
Only if you set it to break on handled exceptions/Promise rejections. This isn’t new behavior in React 18, it’s been the mechanism used for Suspense since it was introduced. If you have used Suspense and haven’t had unexpected debugger pauses, that’s what you should expect going forward.