JSJam Live, Wednesday at 12pm PT
- Last time on JSJam Live, Dev Agrawal and Rishi Raj Jain joined us to give a debrief on all the news announced during Next.js Conf. The conversation included a deep dive on the new experimental Partial Prerendering feature.
Story of the Week - Vite 5.0 Release
The project has been seeing increasingly more npm downloads and overall growth in the ecosystem. The list of frameworks that have adopted Vite now includes Astro, Nuxt, SvelteKit, Solid Start, Qwik City, RedwoodJS, and Remix.
Rolldown Ports Rollup to Rust
Evan You's presentation at ViteConf introduced the long-term plan to work on Rolldown, a Rust-port of Rollup with compatible APIs. This initiative aims to enhance build performance and reduce inconsistencies between development and production environments. Rolldown is currently in the early stages of development, with plans to open source the codebase.
Some of the key changes in Vite 5 that are highlighted in the Migration Guide include:
- Node.js Support: Vite 5 drops support for Node.js versions below 18, requiring Node.js 18 or higher.
- Performance: Vite 5 brings build performance improvements through the upgrade to Rollup 4. There is also a new
server.warmupoption to improve dev server startup time by pre-transforming commonly used modules.
- Migration: Most projects should have a smooth migration path to Vite 5. But the article advises reviewing the migration guide as there are some breaking changes like the removal of deprecated APIs.
- Rollup 4 Upgrade: The upgrade brings breaking changes from Rollup 4 itself like import assertions rename and removal of support for Acorn plugins.
- Deprecation of CJS Node API: The CommonJS API to import Vite is now deprecated in favor of ESM syntax. Projects will have to update to use ESM imports.
Join the Vite Community
In the release announcement, users are encouraged to get involved in the Vite community, contribute to the project, and provides resources for contributing, such as:
- The architecture of today’s LLM applications
- Why I Won't Use Next.js
- The Complete Guide to Choosing the Best Jamstack CMS
- Can Next.js Handle 5000 Pages?
- Why You Need React Query
- Building towards a new default rendering model for web apps
- A faster web in 2024
- Moving back to React
- Can Bun Eat Node.js’s Lunch? Testing the Trendy Toolkit
- React Server Components: A comprehensive guide
- Redwood Framework ‘All in’ on React Server Components
- React Server Components, without a framework?
- HTML Web Components
Podcasts of the Week
- Optimizing third-party loading in Next.js with Houssein Djirdeh
- Angular 17 with Minko Gechev
- The Astro Framework with James Quick
- RPC Resurgence: Client-Server Apps, Next.js, and Meta Frameworks
- TanStack Query v5 with Dominik Dorfmeister
- Isaac Schlueter - npm, Tier
- Astro and MDX for digital gardening with Kathleen McMahon
- Open Source Contributing with Brian Douglas
- Mastering ORM with TypeScript
- Million.js: Revolutionary Virtual DOM Replacement with Aiden Bai
One More Thing
Dylan Pierce from Pipedream (who previously dropped in as a guest on JSJam Live) joined the show to explain how to use Pipedream's AI plugin to scrape and analyze web data:
Find us online at the following links: