New features in Next.js 11
Blog post from LogRocket
Next.js 11, launched at the 2021 Next.js Conf, introduces significant enhancements in performance and developer experience through new features like conformance principles, script optimization, and image improvements. The conformance system aims to streamline development with strong defaults, actionable rules, and authoring time considerations, emphasizing performance before production. Script optimization is improved with a new Script Component that manages third-party scripts more efficiently, affecting page performance positively. The next/image component now reduces layout shifts and offers a blur placeholder for smoother user interactions. Additionally, Webpack 5 becomes the default, bringing disk caching, fast refresh, long-term asset caching, and improved tree-shaking capabilities. Migration tools from Create React App and a new Babel loader implementation further enhance development efficiency. The introduction of Next.js Live allows for real-time collaboration within the browser, reflecting Vercel's commitment to advancing the framework's usability and performance.