News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by dvt on Saturday May 15, 2021 @03:07PM (#27167956)
Oh man, so true, between TS mangling and whatever framework you're using (Vue/React/etc.), the stack trace ends up being literally worthless. It's kind of funny to think about: when something goes wrong, I don't even look at the trace (which is 100% what you'd do in any sane language), but rather I just go back and look at the "last thing I changed."
Re:Modern Javascript: Everything you missed over the last 10... by city41 on Saturday May 15, 2021 @03:14PM (#27168020)
Ah that is true as well. When I said stack I meant like Babel, Storybook, Webpack, Jest, etc. But yeah JS stack traces aren't so fun these days.
Re:Modern Javascript: Everything you missed over the last 10... by Oddskar on Sunday May 16, 2021 @08:48AM (#27173345)
You aren't using source maps to transform your stack traces then? I've had very little issue in understanding stack traces in any of the major JS frameworks.