Making it look like you're doing things poorly when you're doing exactly what you intend to do is a real skill. It's the basis of a lot of circus acts. Making your files extremely large to mock modern web dev is maybe a little bit esoteric of a joke to be compared to someone pretending like they can't control a unicycle though.
What this comparison says about modern web dev I'll leave as an exercise to the reader.
It’s all a matter of perspective. When I saw the title I immediately thought Angular JS.
Many, possibly most, UX developers cannot actually do their jobs. Instead they are hired to use some crappy framework to outsource the required competency. For many of these people dependency on some bullshit framework is the expected reality and anything different must then be poor execution... all objective metrics aside.
Yeah, I see it all the time. Just the other day I found out some coworkers were using this fancy framework called "C" to build their programs. The produced assembly was way overcomplicated and impossible to read. Talk about job security!
Forcing people to perform in ways that are measurably inefficient by several orders of magnitude and punishing people who step out of line is the very nature of imposing job security.
I intentionally stare out of the window letting my life drift away while at the office only because I value my job security. If I wanted to do original innovative work for compensation I wouldn't be a UX developer.
What? You mean it's not been maintained and there is no latest version? I've been using this on many of my sites, which I'm sure now is full of security holes and will break in modern (or ancient) browsers. Please someone suggest an alternative.
Say it with me everyone: it is okay to use the right tool for the right job. Sometimes a JS framework is the right tool, and sometimes it’s not. The solution is not destroy all frameworks.
Anyway, I get that this is a joke, but it’s just been done so many tiiiiimmmeeessss
We unfortunately don't have enough power to destroy all frameworks, so you might be saying this to the wrong people. Say that to those who abuse them instead.
Here's the kicker: none of this is dead code. Vendor libraries alone take 28MB.
Apparently one of the second order effects of rolling your own components is having enormous bundles because there's no incentive to minimize them.
3rd party libraries on the other hand usually go out of their way to be as small as possible.
I'm doing my best not to be sarcastic about this.
EDIT: we treeshake the bejesus out of it, but it's possible that there's some code duplication going on, because the build pipeline is, ahem, custom made.
I've seen similar situations before. In my case it was mostly due to having a team that is larger than than necessary. Having multiple UI designers with differing opinions, developers that don't question redundancy in UI (or don't have time to check), managers that don't coordinate, and just communication problems in general.
This led to a lot of reimplementation and duplicate code. In the end they changed the frontend framework a couple times, but the issue started creeping up again.
Now I suddenly wonder what sarcastic assembly looks like! XOR swaps instead temporary variables everywhere? Jump tables for simple if/elses? Moving the stack pointer up and down for no reason, just because you can?
Frameworks are excessive for documents and presentations. They start to shine in development of apps, where you have to wrangle views, manage data bindings and react to user input in nontrivial ways. It's possible to roll out your own boilerplate and utility methods, but it's almost always counterproductive - this is not a part of task you have at hand and you'll miss on structure and conventions invented by framework team that really had resources to do it.
Part of the downvotes to your comment may be coming from the fact that this framework is (I'm assuming?) a joke.
Otherwise, I completely agree with you. The last few projects I've worked on I used vanilla HTML/CSS/JS and I found it so much better than using any of the popular front-end frameworks. I didn't have megabytes of dependencies before a single line of production code was written. I didn't have to spend time trying to understand any Webpack incantations.
Honestly this stuff all just makes me feel really old.
In a past life that wasn't even that far away, I implemented single page sites with smooth transitions and all sorts of fun stuff in a few lines of CSS. There was like 1kB of JS thrown on top to add a bit of "nice to have" functionality.
I implemented an entire clone of Flappy Bird in like 50kB. The bulk of that was a polyfill so it worked on IE8.
I implemented a curling game that would open up a webcam in the background and continuously capture and process images to try and detect shapes you'd drawn on paper. When it detected one it would trace the shape and decompose it into a convex shape as that's all the physics engine supported, then render this on a 65" touchscreen coffee table and let you curl with your custom shaped rock with realistically calculated physics including an appropriate density for your curling rock based on the volume of the same you'd created. It would calculate scoring and use websockets to communicate that to another device which was hooked up to a TV that displayed a leaderboard. This was all in about 500kB, and the bulk of that was the physics engine (what could've been a "computer vision" library was like a kilobyte of vanilla JS). There was no effort made to prune unused code or anything because it was never loaded over the network or required to be optimized for load times and I only had a week to build it.
I honestly cannot even begin to comprehend how we're shipping static websites with 1MB+ of JS. Damn kids, get off my lawn.
Back in t get late 90ies I wrote my markup in XML and be then used mod_perl to transform it to XHTML using XSLT on the fly. But to be extra 1337, I renamed my index.html file to index.xml,
Even though this is a joke (made me chuckle), I have a hunch somewhere, someone is going to use this for real, for job protection or to appease that manager who insists that static HTML is sooooo 2009.
The sarcasm is real: the web has gotten out of control by a series of overly bloated framework designs that have resulted in a domino effect that has made the web slower, less user friendly, and buggier.
Every problem can be solved with Angular, Observables, ngrx and a 5mln EUR conference for managers. Everything with Azure k8s - locally including mobile, and on the cloud. Simply disregard the feedback of technical grunts who will merely implement, although complain how little progress they make.
Love the .idea directory in the repository (despite large .gitignore) and how you lie about package-lock.json. PwC, or Accenture would charge 5mln EUR for it and be perfectly self-confident about it.
What this comparison says about modern web dev I'll leave as an exercise to the reader.