4 ms·
Before I start, some context: I'm an indie-hacker and live off a web-app I programmed myself and maintained for over a decade (check my profile if you're curiou
by semicolonandson 6y ago
Before I start, some context: I'm an indie-hacker and live off a web-app I programmed myself and maintained for over a decade (check my profile if you're curious). This context is important because
1) I don't need the shared knowledge that a framework facilitates when working on a team
2) My codebase is small (~14k LOC)
I don't use any front-end framework for my JS. Instead I have a have a `main` function that gets initiated and loads up everything that I need on the page (handles, script tags, etc). I wire together interactivity with the DOM via HTML ids (I never use these for CSS, so it's clear their purpose is as JS hooks). I have a `library` file with useful functions (e.g. grabbing query params, hiding or unhiding elements.
If this all sounds very basic, it's because it is. I don't need anything more.
- ttymck 6y agoThis sounds like an absolute dream. I'm envious, and impressed.