We are excited to introduce Next.js 10.1, featuring:
Starting with v9.4 , Next.js brought Facebook's Fast Refresh into open-source for instantaneous feedback on edits made to your React components.
This means Next.js only updates code in the file you edited, and only re-renders that component, without losing component state. This includes styles (inline, CSS-in-JS, or CSS/Sass Modules), markup, event handlers, and effects (via useEffect ).
Today, we're making it 200ms faster on every edit without any code changes on your side . On average, this makes Fast Refresh 3x faster.
Want even faster performance and better build times? Opt-in to Webpack 5 today with a new future flag.This flag is a release candidate (RC) and Webpack 5 will become the…
This is an excerpt. The full article is published by Next.js Blog.
Continue reading at Next.js Blog