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
3 Replies
Solution
It's just a livewire regular stuff, the field should be just lazy loaded
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 techniquesThanks Mohammed. I appreciate the pointer.