Every time I touch JS (and especially bundlers) I'm reminded of what an incredible pain in the ass the entire ecosystem is. I'm never going to use a JS framework for a new project again. And while I'm at it, fuck it maybe I'll never use Typescript again either. Either use an actually typed language (Rust), use something enjoyable (Ruby), or at a push, write some plain vanilla JS.

Replies (17)

TS is awful. The type gymnastics needed just to keep a linter happy in a moderately complex project is insane.
Still, it’s somehow less terrible than Python. I genuinely have no idea how anyone gets anything done in that language.
Default avatar
gotcha 10 months ago
I sympathize totally. (Even more, relying on MS to improve JS via TS is a total no go for me.)
Default avatar
gotcha 10 months ago
Have you looked at Elm ?
If this is a frontend and React problem, use Remix. The experience is very good and the whole bundler madness is abstracted away.
↑