Skip to content

Commit c6b313b

Browse files
Update src/routes/solid-start/building-your-application/routing.mdx
Co-authored-by: Sarah <gerrardsarah@gmail.com>
1 parent e2a5c6e commit c6b313b

File tree

1 file changed

+2
-1
lines changed
  • src/routes/solid-start/building-your-application

1 file changed

+2
-1
lines changed

src/routes/solid-start/building-your-application/routing.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export default function App() {
3737
```
3838

3939
The `<Router />` component expects a `root` prop which functions as the root layout of your entire app.
40-
You will want to make sure `props.children` is wrapped in `<Suspense />` because each component will be lazy-loaded automatically for you. Without this you may see some unexpected hydration errors.
40+
You will want to make sure `props.children` is wrapped in `<Suspense />` since each component will be lazy-loaded automatically.
41+
Without this, you could see some unexpected hydration errors.
4142

4243
`<FileRoutes />` will generate a route for each file in the `routes` directory and its subdirectories. For a route to be rendered as a page, it must default export a component.
4344
This component represents the content that will be rendered when users visit the page:

0 commit comments

Comments
 (0)