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.…