Live data from Hacker News

Vite 3.0

vitejs.dev

11–20 of 202 posts

Re: Vite 3.0

#11

The landing page of Vite claims "Next Generation Frontend Tooling" but then go on to describe features that already have been existing for a good while (multiple years). What exactly is the "next generation" part here? The composition? That's also not new, so I think I'm either missing something very obvious, or they need to do a better job explaining how Vite is actually different.

Vite is way faster and takes way less config. We been using it in prod for almost a year now and it's just way better. One of the few new js tools thats actually better and doesn't just exist to get stars on github and pad a resume.

Re: Vite 3.0

#12

I had no idea so many other frameworks are using Vite as their default. Event server-side frameworks are picking it up! Has Webpack really been dethroned as the go-to bundler?

I first learned about Vite when Laravel News [0] announced Laravel was switching.

[0] https://laravel-news.com/vite-is-the-default-frontend-asset-...

Re: Vite 3.0

#13
My experience with Vite 3 has been great so far (during the alpha/beta). Any issues I had that came up during the beta were fixed or responded to in less than 12 hours. The momentum behind getting this released was pretty impressive. Patak's coordination and contributions have really pushed things along!

Re: Vite 3.0

#16
It just hit me. The web produces bad UI. I saw a demo of Alan Kay showing a smalltalk environment from the 70s. Wow, we haven't even caught up to that yet.

Re: Vite 3.0

#17

The landing page of Vite claims "Next Generation Frontend Tooling" but then go on to describe features that already have been existing for a good while (multiple years). What exactly is the "next generation" part here? The composition? That's also not new, so I think I'm either missing something very obvious, or they need to do a better job explaining how Vite is actually different.

The next generation part is the speed. IIRC the core functionality is built in Go and it's much, much faster than competitors.

Re: Vite 3.0

#19

Well that sucks. Updated my project and https no longer works :( guess I got to figure out what changed with https mode.

Probably this-- https://vitejs.dev/guide/migration.html#automatic-https-cert...

Thanks, that solved it, but now I have other errors like needing to install sass etc. V2 seemed much better now, it just worked, now I have to go installing everything and the kitchen sink.

edit: fixed after reading docs.

https://vitejs.dev/guide/features.html#css

npm add -D sass

Re: Vite 3.0

#20
post #15

React Context HMR still has problem. Due to this problem, I think nextjs still the better choice for react dev. Maybe vite supports too many frameworks, do not have enough time to handle the react problems. [1]: https://github.com/vitejs/vite/issues/3301

Nextjs and vite are not really comparable, they are two different things. NextJS is an application framework, vite is a dev/build tool.

(With that said, I'd love to see Next use Vite, but iirc the webpack dev works for Vercel [Nextjs parent] now)

Post reply on HN