Skip to content

Commit

Permalink
fix(/docs/(qwikcity)/routing): fix mdx interpreting title as component
Browse files Browse the repository at this point in the history
  • Loading branch information
maiieul committed Nov 29, 2023
1 parent 1caa1b0 commit ec23898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default component$(() => {

> The `Link` component uses the `useNavigate()` hook [internally](https://github.com/BuilderIO/qwik/blob/e452582f4728cbcb7bf85d03293e757302286683/packages/qwik-city/runtime/src/link-component.tsx#L33).
### <Link reload>
### `<Link reload>`

The `Link` with the `reload` prop can be used to refresh the current page.
You can also call the `nav()` function from the `useNavigate()` hook, without arguments.
Expand Down Expand Up @@ -263,7 +263,7 @@ export default component$(() => {
> While refreshing the page, the `isNavigating` boolean from `useLocation()` will be `true` until the page is fully rendered.
### <Link prefetch>
### `<Link prefetch>`

The Link component's `prefetch` prop can be used to improve the perceived performance of the application. Although Qwik pages excel at lazy loading javascript, this feature can come in handy for content-heavy pages or SSR pages that need to wait for database or API calls.

Expand Down

0 comments on commit ec23898

Please sign in to comment.