react-code-dataset
/
next.js
/docs
/01-app
/03-api-reference
/05-config
/01-next-config-js
/appDir.mdx
| --- | |
| title: appDir | |
| description: Enable the App Router to use layouts, streaming, and more. | |
| version: legacy | |
| --- | |
| > **Good to know**: This option is **no longer** needed as of Next.js 13.4. The App Router is now stable. | |
| The App Router ([`app` directory](/docs/app)) enables support for [layouts](/docs/app/api-reference/file-conventions/layout), [Server Components](/docs/app/getting-started/server-and-client-components), [streaming](/docs/app/api-reference/file-conventions/loading), and [colocated data fetching](/docs/app/getting-started/fetching-data). | |
| Using the `app` directory will automatically enable [React Strict Mode](https://react.dev/reference/react/StrictMode). Learn how to [incrementally adopt `app`](/docs/app/guides/migrating/app-router-migration#migrating-from-pages-to-app). | |