Skip to content

Commit adb5968

Browse files
committed
Update the preloading guideline
1 parent e970431 commit adb5968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ai/hotwire.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ class Post extends Model
170170
</div>
171171
```
172172
@endverbatim
173-
- Use `data-turbo-preload` to prefetch pages on hover for near-instant navigation:
173+
- Preloading is automatically enabled on all links. You may disable it for specific links with the `data-turbo-preload` attribute (if you need to):
174174
@verbatim
175175
```blade
176-
<a href="{{ route('posts.show', $post) }}" data-turbo-preload>
176+
<a href="{{ route('posts.show', $post) }}" data-turbo-preload="false">
177177
{{ $post->title }}
178178
</a>
179179
```

0 commit comments

Comments
 (0)