Skip to content

Commit

Permalink
Fix issue in Lazy loading page (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonahPlusPlus authored Aug 19, 2024
1 parent fff4272 commit 7cd4f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/solid-router/advanced-concepts/lazy-loading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ const App = () => (
);
```

In the example above, the `Home` component is lazy loaded using the `lazy` function.
In the example above, the `Users` component is lazy loaded using the `lazy` function.
The `lazy` function takes a function that returns a promise, which resolves to the component you want to load.
When the route is matched, the component will be loaded and rendered.

0 comments on commit 7cd4f54

Please sign in to comment.