docs: add descriptions to all pages (#195)

This commit is contained in:
Luca Casonato
2022-05-17 02:19:32 +02:00
committed by GitHub
parent 637a0463b6
commit 2a2b948a58
15 changed files with 88 additions and 2 deletions
+6
View File
@@ -1,3 +1,9 @@
---
description: |
Add custom handlers to a route to customize HTTP headers, implement API
routes, do data fetching for a rendered page, or handle form submissions.
---
Routes actually consist of two parts: handlers, and the page component. Up to
now, only the page component has been discussed in this chapter.