Menu

1 / 3

Next.js 6.1

Vercel News·Tim Neutkens·6 months ago
#fqUCmEP4
#vercel#next#react#withrouter#build
Reading 0:00
15s threshold

We are proud today to introduce the production-ready Next.js 6.1 , featuring:

Increased hot reloading reliability

Codebase improvements

Next.js codemods

In addition to the Next.js 6.1 release, we're excited to announce that nextjs.org is now open source .

Link to heading Improved hot reloading reliability

In versions before Next.js 6.1 Next.js implemented react-hot-loader on behalf of the user. This library keeps React state between hot reloads.

In doing so react-hot-loader adds a few non-standard behaviors to React, for example, it will ignore shouldComponentUpdate and the element type ended up being a proxy component instead of the actual React component.

To make sure Next.js is as close to default React as possible we have removed react-hot-loader as a dependency, this makes sure development and production mode are closer to each other in behavior.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.