Live data from Hacker News

Vite – Next Generation Front End Tooling

main.vitejs.dev

381–383 of 383 posts

Re: Vite – Next Generation Front End Tooling

#382

Earlier quoted context omitted.

> to read about what Vite is and what it does. This is actually my main complaint. I read everything on the landing page and Getting Started page and still have literally zero idea what Vite does.

Secondary call-to-action is literally "Learn more" [0] and explains in details all the problems it solves [0] https://vitejs.dev/guide/why

That’s an essay.

Re: Vite – Next Generation Front End Tooling

#383

Earlier quoted context omitted.

It’s more like Webpack, the software that processes your React code into JavaScript bundles that are optimized for the browser. ie puts together what belongs together, removes the unused code, provides a test server to develop and get instant refresh.

How would one use it together with a backend that already serves the frontend code? As a compiler only?

I’ve had similar backend projects where I setup a reverse-proxy to a backend, along with the frontend dev server, to allow the full site and api to run in the browser from local host.

It’s not the most graceful setup, but it works if your backend build isn’t as flexible as you need.

Post reply on HN