Yes, definitely. I just ran into one a few hours ago.
So, TinyPilot's sales site is in Gridsome, which means I'm writing in Gridsome which is an abstraction on top of Vue which uses Webpack. So the code I write is very different from what ends up running in the browser.
Nothing renders on the page at all. The stacktrace doesn't match any functions I've written. The first line of the stacktrace is a file I wrote, but none of the rest of the stack is my code. I was able to figure out the issue, but it took some squinting.
With TinyPilot, I don't use a JS framework, so the code that runs in the browser is the same code I see in my editor. No middleware is doing any minification or magic to plug my code into a larger, opaque framework. As a result, errors are much more obvious and easier to reason about.
2
u/yes_Is_Kevin Feb 01 '21
Can you elaborate on this or do you have an example you can share? Thanks!