1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/use-prefetching-to-boost-the-perceived-speed-of-livewire-apps.md
2021-11-26 16:21:56 +01:00

13 lines
No EOL
602 B
Markdown

---
title: 'Use prefetching to boost the perceived speed of Livewire apps'
tweet_id: '1464247623796232193'
thread_slug: weekly-thread-2021-47
author_username: alexjgarrett
images:
- 'https://pbs.twimg.com/media/FE9K7s_X0AMvYbA.jpg'
created_at: 2021-11-26T15:00:12+00:00
slug: use-prefetching-to-boost-the-perceived-speed-of-livewire-apps
---
To boost perceived speed in your @LaravelLivewire apps when loading data, make use of prefetching.
The .prefetch modifier tells Livewire to fetch the result in the background on *hover*, and then displays the result when the button is actually clicked ✨