On the heels of our announcement of free static deployments earlier today, we are excited to introduce a beta release of the upcoming Next.js 3.0, featuring
next export, dynamic components and various bugfixes.
Next.js allows you to write React applications with server-rendering, automatic code-splitting, built-in component CSS with one command. To get started, populate
pages/my-route.js directory with a file that exports a component:
export default () => ( <p>Welcome to my React App!</p> )
Install it with
... read the whole story at zeit.co.
npm install next react react-dom, run
next and navigate to
http://localhost:3000/my-route. That's it! To learn more, read the