docs: fix grammar in documentation (#2561)

Fix grammar errors in documentation
This commit is contained in:
Matt Nield
2024-06-30 10:17:56 +02:00
committed by GitHub
parent 76a823eae2
commit 75f680226e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ passed a `render` function that it can call to invoke rendering a component.
The component is the template for a page. It is a JSX element that is rendered The component is the template for a page. It is a JSX element that is rendered
on the server. The page component gets passed props that can be used by it to on the server. The page component gets passed props that can be used by it to
determine exactly what should be rendered. By default components receives props determine exactly what should be rendered. By default components receive props
consisting of: the request URL, the matching route (as a string), the matches consisting of: the request URL, the matching route (as a string), the matches
from the URL pattern match, any state set by middleware, and any data passed to from the URL pattern match, any state set by middleware, and any data passed to
the handler's `render` function. the handler's `render` function.
@@ -44,7 +44,7 @@ Two important folders are also created that contain your routes and islands
respectively: respectively:
- **`routes/`**: This folder contains all of the routes in your project. The - **`routes/`**: This folder contains all of the routes in your project. The
names of each file in this folder correspond to the path where that page will name of each file in this folder correspond to the path where that page will
be accessed. Code inside of this folder is never directly shipped to the be accessed. Code inside of this folder is never directly shipped to the
client. You'll learn more about how routes work in the next section. client. You'll learn more about how routes work in the next section.
- **`islands/`**: This folder contains all of the interactive islands in your - **`islands/`**: This folder contains all of the interactive islands in your