Next.js 2.0
Mar 27, 2017

Summary
This post announces Next.js 2.0, detailing several key improvements and new features. It introduces a programmatic API for custom server code and dynamic routing, allows developers to bring their own React versions (including Inferno and Preact), and integrates `styled-jsx` for scoped CSS. Pre-fetching is now supported via the `prefetch` attribute on `<Link>` components. The post also discusses performance optimizations for Hot Module Replacement (HMR) with a new lazy compilation mechanism, and improvements to build size through Webpack common chunks and hashed bundle files. It also mentions upcoming features like improved HMR, faster dev compilation, seamless support for lazy `import()`, React Fiber integration, and static exports.