Hacker Newsnew | past | comments | ask | show | jobs | submit | tropix126's commentslogin

In my experience, Vite offers a better onboarding process and has a more straightforward configuration format compared to ESBuild. You also get most of rollup's plugin ecosystem and a large amount of community tools made specifically for Vite (Vitest, ViteBook, vite-plugin-pwa, etc...). Also, I might be wrong about this but I don't think ESBuild has HMR, which really speeds up development.

Overall, ESBuild feels like a much lower-level tool than Vite. It's great for smaller projects or projects that require absolute and complete control over their builds, but it takes more time to setup in most cases and often requires writing your own build scripts.


For my simple app, one-line calls to ESBuild in package.json seem good enough. I run everything using 'npm run dev' or 'npm run build'. See [1].

I suppose it wouldn't scale if the app got too big and complicated.

[1] https://github.com/skybrian/serialviz/blob/main/package.json


> but it takes more time to setup in most cases and often requires writing your own build scripts.

If I don't write my own build scripts how else am I going to show my coworkers how big brained I am? I need to assert my intellectual superiority somehow...


Carbon and SMUI are both good.


1. Yes there is typescript support.

2. Compared to React yes, because Svelte ships no runtime (or at least a very minimal one). There is a curve though, and very large apps (in the hundreds of components) will eventually be overtaken by something like Preact or vue.

3. No runtime means no restrictions on what they include in the framework. They take full advantage of Svelte being a compiler and include things like complex state management in the form of stores, a built-in transition/animation system with support for springs. Also the included syntax is extremely concise, if you're familliar with vue it'll be fairly easy to pick up.


> They take full advantage of Svelte being...

They? Libraries?


The Svelte core team. All of the features I mentioned are included in the framework without the need of external libs.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: