news.volyx.in

Vite 8.0 Is Out (vite.dev)

560 points by kothariji · 126 days ago · 202 comments on HN

Article summary

Vite 8 has been released, featuring a new unified bundler called Rolldown, which replaces the previous dual-bundler approach with esbuild and Rollup. This change brings significant performance improvements, with build times reduced by up to 10-30x. The new version also includes other features such as integrated devtools, TypeScript path alias resolution, and WebAssembly support. Vite 8 requires Node.js 20.19+ or 22.12+ and has a larger install size due to the inclusion of Rolldown and lightningcss.

Main themes

  • Vite 8 release
  • Rolldown bundler
  • Performance improvements
  • Next.js criticism
  • React ecosystem
  • Server-side rendering
  • Static site generation
  • Framework comparisons

What commenters say

  • Some users have reported significant improvements in build times after upgrading to Vite 8, with one user seeing an 8x improvement.
  • The new Rolldown bundler is seen as a major improvement, but some users are still waiting for support for standardized ECMAScript decorators.
  • Next.js is criticized for being bloated and overly complex, with some users preferring alternative frameworks like Vite or Tanstack Start.
  • The influence of Vercel on the React ecosystem is seen as a potential issue, with some users feeling that Next.js is being pushed as the primary solution despite its flaws.
  • Some users appreciate the performance benefits of Vite 8, but are concerned about the increased install size.
  • The use of JSX as a server-side templating language is seen as a viable option by some users, while others prefer alternative approaches.
  • The complexity of Next.js is attributed to its focus on server-side rendering, which may not be necessary for all use cases.
  • Alternative frameworks like Astro are seen as more suitable for static sites, offering a better balance between interactivity and plain HTML/CSS.