cover of episode Next.js 15 with Jimmy Lai and Tim Neutkens

Next.js 15 with Jimmy Lai and Tim Neutkens

2024/12/5
logo of podcast Software Engineering Daily

Software Engineering Daily

Key Insights

What are the key upgrades introduced in Next.js 15?

Next.js 15 includes enhanced integration of Turbopack, support for React 19, stability improvements, and new features like the Next Form component and after hooks for request lifecycle management.

Why did Next.js 15 take longer to release compared to previous versions?

The team decided to take more time to ensure the release was polished, bundling significant changes and stability improvements to set a new baseline for the app router.

What is the significance of Turbopack in Next.js 15?

Turbopack is now stable for development, offering a 95% faster hot module replacement (HMR) compared to previous versions, significantly improving developer iteration speed.

How does Turbopack improve development performance?

Turbopack reduces the time it takes to see changes reflected in the browser by only recompiling the affected parts of the code, rather than the entire module graph, resulting in faster updates.

What is the motivation behind the async request APIs in Next.js 15?

The async request APIs were introduced to prepare for the upcoming dynamic IO feature, which simplifies the distinction between static and dynamic content by marking pages as dynamic if they use promises.

How does Next.js 15 handle static vs. dynamic content determination?

Next.js 15 uses dynamic IO to determine if a page is static or dynamic based on whether the code uses asynchronous operations, marking it as dynamic if it does.

What is the relationship between Next.js and React in terms of development?

Next.js and React have a close relationship, with Next.js often integrating React's latest features, such as server components and new directives, to enhance the framework's capabilities.

Why did Next.js 15 release with an RC version of React 19?

Next.js 15 released with React 19 RC to align with the React team's roadmap, but the stable release was delayed due to a significant change in React's suspense behavior, which Next.js decided not to block on.

What is the purpose of the Next Form component in Next.js 15?

The Next Form component is a drop-in replacement for the standard HTML form, adding features like prefetching and client-side navigation to improve form handling and user experience.

How does Next.js support self-hosting and non-Vercel deployments?

Next.js supports self-hosting through tools like Open Next, which allows deployment on various serverless platforms. The team is also working to standardize infrastructure outputs to make self-hosting easier.

Chapters
Next.js 15 brings enhanced TurboPack integration, React 19 support, and stability improvements. Key features include the Next Form component and after hooks for request lifecycle management. The release focused on improving developer experience and addressing common issues like hydration errors.
  • Enhanced TurboPack integration for faster development
  • Support for React 19
  • Improved stability and numerous bug fixes
  • Next Form component for easier form handling
  • After hooks for request lifecycle access

Shownotes Transcript

Next.js) is an open source JavaScript framework developed by Vercel). It’s built on top of React and is designed to streamline web application development using server-side rendering and static site generation. The framework’s handling of both frontend and backend tasks, along with features like API routes and file-based routing, have made it an increasingly popular choice in the web dev community.

Next.js 15 just released in October of 2024 and introduces significant upgrades, including enhanced integration of Turbopack and support for React 19.

Jimmy Lai) is a Software Engineering Manager at Next.js and Tim Neutkens) is the Tech Lead for Next.js and Turbopack. They join the show to talk about Next.js and what’s new in version 15.

)

Kevin Ball) or KBall, is the vice president of engineering at Mento and an independent coach for engineers and engineering leaders. He co-founded and served as CTO for two companies, founded the San Diego JavaScript meetup, and organizes the AI inaction discussion group through Latent Space.

 

 

Please click here to see the transcript of this episode.)

Sponsorship inquiries: [email protected])

The post Next.js 15 with Jimmy Lai and Tim Neutkens) appeared first on Software Engineering Daily).