So my question is, for those who roll their own framework using libraries, have you created your own equivalents that provide similar power with very few lines or do you just prioritise the flexibility of using libraries (as opposed to an opinionated framework) over (at least early-stage) development speed?
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.
I start with ECMAScript/JavaScript, but lately I’ve been throwing TypeScript in the mix. Usually get a build system working (e.g. WebPack). Then if I need it, I add in a library or two to help out with DOM management (e.g. mithril.js, react).