From ec2389854caa92d33f7eddf7a4028ed9271c3266 Mon Sep 17 00:00:00 2001 From: maieulchevalier Date: Wed, 29 Nov 2023 11:48:46 +0100 Subject: [PATCH] fix(/docs/(qwikcity)/routing): fix mdx interpreting title as component --- packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx b/packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx index a868bb27873..bcbd8b0651f 100644 --- a/packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx +++ b/packages/docs/src/routes/docs/(qwikcity)/routing/index.mdx @@ -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). -### +### `` 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. @@ -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. -### +### `` 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.