logoalt Hacker News

sandreas06/16/20251 replyview on HN

I like vanilla components... Personally I think that instead of providing either frameworks or vanilla compnents, frameworks should provide a way to compile components to independant vanilla JS (similar to svelte not needing a "runtime").

This way it would not matter this much how you deploy components and this compiling step could probably have its own API with hooks and callbacks.


Replies

notnullorvoid06/16/2025

Older Svelte versions may not have needed a runtime, but Svelte 5 definitely does.

Runtimes are good, the abilities of web components suck compared to most framework runtimes.