Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): mdx interpreting title as component #5499

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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