⚠️ tl;dr: this post is about web development and goes into nerdy details; skip it if you don't care about that stuff!
So I did it and it... kind of works! Naturally, I had to convert a few things to modules, and get rid of some dependencies. I'm proud to say the frontend doesn't depend on any external library anymore, as I have been vendoring the last remaining ones, which ended up only being lodash.debounce. pfew! 😅
I'm not 100% sure what it means in terms of performance, UX, developer experience and whatnot, but this is my little experiment.
The server is still running on NodeJS using Express, and I still use my weird website generator I call “Zorg”, but the next experiments will consist in getting rid of as many dependencies as possible in those domains as well.
I'm not fond of Docker, but it might come in handy if I want to make that website super portable? I just wish I could install that sucker on any machine and have it be live in a matter of seconds.
As for Zorg, its dependencies aren't crazy and I will need them; it's out of the question to write my own filesystem watcher (chokidar), or my own glob implementation (glob), etc. and I haven't looked into how easy/safe it would be to vendor those in as well.
Just 21 direct dependencies so far, and most of them are linked to the Express server. I only use the server for two API endpoints related to the comments, and I'm thinking of ditching that too, at some point. I have other ideas for “comments”... ain't nobody commenting on those rambling posts anyhow!
Man, it feels good to go minimal!
update: april 29, 2021
12:00pm: Getting super minimal on this website doesn't mean I can't go crazy with web stuff elsewhere! ...which is why I will soon embark on some other projects, and finally end this updating-spree.
See ya later!
~~last updated: 2021-03-29 @ 4:14pm