You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/solid-start/building-your-application/routing.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ export default function App() {
37
37
```
38
38
39
39
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.
41
42
42
43
`<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.
43
44
This component represents the content that will be rendered when users visit the page:
0 commit comments