Re:Why does anyone use Angular in production?
by dividedbyzero on Thursday November 04, 2021 @05:17PM
(#29112643)
> It sounds like you were trying to use a bunch of tools without understanding what the tools actually do.
That's true, so far I've only interacted with these tools in vue-cli-generated projects and the like.
I'm not sure if "framework-less" is the right term even. I'd like to be able whip up quick UIs with a few libraries where needed without too much unnecessary complexity. I find there's little benefit in forcing simple UIs into Vue components, but juggling libraries without npm/yarn is cumbersome, too.
I'll have a look at Vite and Mithril.js, thanks for the pointers!
That said, webpack and jest are bloated messes and easy to break. I'd say just stick to esbuild as your lone dev dependency and get to work writing your framework-less project. Otherwise, take a look at the vanilla Vite template: https://vitejs.dev/guide/#scaffolding-your-first-vite-projec...
If you find that you want a framework (which may be inevitable), give Mithril.js a shot. It's very unopinionated.
These days I tend to only use esbuild. For testing, I use my own homerolled test utility and the built-in Node.js assert module, or uvu.