Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor93382dIt's just compiled shit. You can't do window.myFw = this somewhere? I did such stuff working with Vuetify iirc.
-
@retoor Someone programmatically creates a component with some configuration -some weird custom form builder we have, and someone will have to pay for this someday but I'm not quite there yet- , somewhere in the life cycle of this component it fires this HTTP request. Need to decode where that happens, the call stack of Angular is nested 400 times.
And no, it's not a problem with compilation; if I did that with any sane framework, I wouldn't have to deal with this shit. -
You don't have this problem with other frameworks because source maps are one of very few technologies in JS land that work nearly perfectly, and the two main hazards are that your compiler doesn't generate them or that your bundler strips them out as comments.
-
*click*
...
...
...
...
...
...30 minutes later
Initiate HTTP request ... stack overflow
Related Rants
> Ok, the client is performing this HTTP request, it's missing some parameters, let's fix it... inspector has this handy initiator tab, lemme just BY THE RINGS WHAT THE FUCK IS THIS
I still refuse to believe anyone looked at this burning pile of shit you insist on calling a framework and was like "yeah this deserves to be released"
rant
angular