diff --git a/docs/latest/concepts/routes.md b/docs/latest/concepts/routes.md index c5f50cea..c3ce120d 100644 --- a/docs/latest/concepts/routes.md +++ b/docs/latest/concepts/routes.md @@ -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 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 from the URL pattern match, any state set by middleware, and any data passed to the handler's `render` function. diff --git a/docs/latest/getting-started/create-a-project.md b/docs/latest/getting-started/create-a-project.md index dfe3fb8b..5068a83f 100644 --- a/docs/latest/getting-started/create-a-project.md +++ b/docs/latest/getting-started/create-a-project.md @@ -44,7 +44,7 @@ Two important folders are also created that contain your routes and islands respectively: - **`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 client. You'll learn more about how routes work in the next section. - **`islands/`**: This folder contains all of the interactive islands in your