rsnext/examples/blog/pages
Henrik Wenz 64a3697d05
[Docs] Update examples to favour functional _document (#39871)
## Changes

- Migrate class based `_document`s to functional documents 
- Removed `_document.js` where default
- Removed `MyDocument.getInitialProps` where default

## Motivation

This removes some boilerplate and prepares examples for server components.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-23 18:52:31 +00:00
..
posts Refactor data fetching API docs (#30615) 2022-01-12 08:56:51 +01:00
tags [examples] Add portfolio starter kit. (#23212) 2021-03-21 19:44:59 -05:00
_app.tsx chore(examples): Convert blog example to TypeScript (#38095) 2022-07-06 19:33:16 +00:00
_document.tsx [Docs] Update examples to favour functional _document (#39871) 2022-08-23 18:52:31 +00:00
index.mdx Update dependencies for blog starter. (#23317) 2021-03-23 20:02:03 +00:00
photos.mdx [examples] Small updates to blog example. (#23258) 2021-03-22 22:10:15 -05:00