sales@avioxtechnologies.comSubscribe

Innovation TrackerNews

Next.js 5.1: Faster Page Resolution, Environment Config & More

Next.js 5.1 features support for environment configuration, phases, source maps, and new Next.js plugins.

Published By Tim Neutkens · 1 min read

We are happy to introduce Next.js 5.1, which features support for environment configuration, phases, source maps, and new Next.js plugins.

Major performance improvements are introduced: resolving pages is 102x faster, and error pages are loaded more efficiently.

In addition to bumping Next.js, we upgrade the peer dependencies react and react-dom

Be sure to upgrade next-plugins like @zeit/next-css , @zeit/next-sass , @zeit/next-less or @zeit/next-typescript as well.

Thanks to the architectural changes in Next.js 5.0, we were able to simplify the logic that resolves pages based on url path. These changes were based on research from @oliviertassinari . Previously resolving a page took an average of 2.347ms . With the new logic resolving the same page takes on average 0.023ms .

This is an excerpt. The full article is published by Next.js Blog.

Continue reading at Next.js Blog

Insights & Understanding

Frequently Asked Questions

Answers to common questions regarding this article's topic, architecture, and practical applications.