Skip to content

Commit a4c79c1

Browse files
committed
both <A> and <a> have the preload behavior, remove ambiguous sentence
1 parent f364e32 commit a4c79c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/solid-router/advanced-concepts/preloading.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Preloading
33
---
44

5-
When using the [`<A>`](/solid-router/reference/components/a) component from Solid Router, routes are preloaded by default on link hover/focus to improve perceived performance.
5+
Anchors in Solid Router will preload routes by default on link hover/focus to improve perceived performance.
66

77
To enhance preloading, you can define the `preload` function on your route definition.
88
When on a [SolidStart](/solid-start) application, this function can also run on the server during the initial page load to start fetching data before rendering. When in a Single-Page Application (SPA), it will load the route's component and its `preload` function when the user hovers or focuses on a link.

src/routes/solid-router/reference/primitives/use-preload-route.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ preload(`/users/settings`, { preloadData: true });
1212

1313
## Usage
1414

15-
Routes are preloaded by default when using the [`<A>`](/solid-router/reference/components/a) component.
15+
Routes are preloaded by default within Solid Router contexts.
1616
This helper is useful when you want to preload a route in response to some other event, such as a button click or a timer.
1717

1818
## Type Signature

0 commit comments

Comments
 (0)