You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/readme.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,11 @@ Now you can simply:
49
49
<a href="/dashboard" use:route>Dashboard</a>
50
50
```
51
51
52
+
By adding `use:route` you will prevent the page from reloading and instead let the router take the wheel 🤸. Peruse the rest of the documentation at [docs/](docs/) for more details.
53
+
54
+
> [!NOTE]
55
+
> Without `use:route` the website will be reloaded after opening a new route. To prevent this use `goto()` or `use:route` so only the Route element get's changed.
56
+
52
57
and `/ship-it`!
53
58
54
59
> See [actions.md#route](actions.md#route) for the deets..
0 commit comments