Next.js with TypeScript example

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/nextjs-with-typescript
cd nextjs-with-typescript

Install it and run:

npm install
npm run dev

or

yarn
yarn dev

The idea behind the example

Next.js is a framework for server-rendered React apps. Hooks are an upcoming feature of React.