Next.js Framework Evolution
Next.js 2.0

Next.js 2.0

3/27/2017

What this post added

Introduced programmatic API for custom servers, enabling dynamic routing and custom caching. Mandated bringing own React and ReactDOM for version flexibility. Integrated styled-jsx for component CSS. Added `prefetch` attribute to `<Link>` for performance. Implemented scalable HMR with lazy compilation. Improved build optimizations for smaller and more efficient bundles. Enhanced extensibility through Babel and Webpack configuration. Outlined roadmap towards version 3.0 including improved HMR, faster dev compilation, lazy import support, React Fiber integration, and static exports.

Read the original post ↗