Load data after page loads

I have an infolist which displays data from the database. I have one field which pulls data from an API (displays status). I want to load the local data and then add the data from the API when it arrives in order to speed up the page loading. Any ideas please? Mike
Solution:
It's just a livewire regular stuff, the field should be just lazy loaded
Jump to solution
3 Replies
Solution
Mohamed Ayaou
Mohamed Ayaou2d ago
It's just a livewire regular stuff, the field should be just lazy loaded
Mohamed Ayaou
Mohamed Ayaou2d ago
If you ment by the field a Select Compenet then is is already lazy loading the data if you didn't use ->preload() If it's a custom field then just use livewire lazy loading techniques
opensaucemike
opensaucemikeOP2d ago
Thanks Mohammed. I appreciate the pointer.

Did you find this page helpful?