Skip to content

Commit 696907f

Browse files
Merge pull request #100 from mateothegreat/mateothegreat-patch-1
Update readme.md
2 parents fd34400 + 15c316f commit 696907f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ Now you can simply:
4949
<a href="/dashboard" use:route>Dashboard</a>
5050
```
5151

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+
5257
and `/ship-it`!
5358

5459
> See [actions.md#route](actions.md#route) for the deets..

0 commit comments

Comments
 (0)