by eternityforest · 3y ago · 0 comments
I also quite enjoyed Svelte.
I have very little interest in touching the DOM imperatively when a declarative option exists.
Even just a naive approach of plopping a whole page in one big component or enhancing a page rendered elsewhere by mounting a few self-contained widgets on it is nicer than manually keeping track of state with events. Even my best an most concerted efforts at jQuery frontends eventually had many bugs that simply don’t happen with a declarative approach.
It's just too slow and convoluted to do that (I tried), and this gets even worse with TypeScript because tsc is so darn slow to startup.
The closest I've gotten is running the JavaScript build system as a subprocess in the application itself, but meh...
They even describe it as a "declarative replacement for jQuery" in the docs!