Stable implementation of Server Actions also featured in latest upgrade to the popular React-based framework. Credit: thexfilephoto / Getty Images Next.js 14, the latest version of Vercel’s React-based framework for web development, previews a compiler improvement for dynamic content. Introduced October 26, Next.js 14 offers an experimental preview of partial prerendering, a compiler optimization for dynamic content that generates a fast initial static response. Partial prerendering builds on research and development into server-side rendering, static-site generation, and incremental static revalidation. Developers do not need to learn new APIs to use partial prerendering. Next.js 14 also offers a stable implementation of Server Actions, for defining asynchronous server functions to be called directly from components, with no need to manually create API endpoints. Previously in an alpha state, Server Actions are integrated into the App Router model. Built on web fundamentals such as forms and the FormData web API, Server Actions should be familiar to developers who have used server-centric frameworks in the past, according to Vercel. Mutating data, re-rendering the page, or redirecting can occur in one network round trip, ensuring the correct data is displayed on the client even if the upstream provider is slow. Also, different actions can be composed and reused. Next.js developers have been working to improve local development performance in both the Pages and App Router since Next.js 13. The Turbopack Rust-based bundler, optimized for JavaScript and TypeScript and Vercel’s successor to Webpack, is expected to move to “stable” in an upcoming minor release. Webpack will still be supported for ecosystem plugins and custom configurations. Finally, Next.js 14 introduces some metadata improvements. Before web page content can be streamed from the server, important metadata about the viewport, color scheme, and theme first must be sent to the browser. Ensuring these meta tags are sent with initial page content helps smooth the user experience, preventing page flickering. In Next.js 14, blocking and non-blocking metadata have been decoupled. Only a small set of metadata options are blocking; the intent is to ensure non-blocking metadata will not prevent a partially pre-rendered page from serving the static shell. Predecessor Next.js 13 was introduced a year ago, followed by several point releases. Related content feature 14 great preprocessors for developers who love to code Sometimes it seems like the rules of programming are designed to make coding a chore. Here are 14 ways preprocessors can help make software development fun again. By Peter Wayner Nov 18, 2024 10 mins Development Tools Software Development feature Designing the APIs that accidentally power businesses Well-designed APIs, even those often-neglected internal APIs, make developers more productive and businesses more agile. By Jean Yang Nov 18, 2024 6 mins APIs Software Development news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks news Go language evolving for future hardware, AI workloads The Go team is working to adapt Go to large multicore systems, the latest hardware instructions, and the needs of developers of large-scale AI systems. By Paul Krill Nov 15, 2024 3 mins Google Go Generative AI Programming Languages Resources Videos