Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Great! Thank you 👌
Welcome!
You could also just setup an action to append more models to the collection. No need for all this logic going on.
You could, but that would generate more queries. Because of the safety mechanism inside eloquent.
How so? The action loads the next 10, and appends it to the existing collection.@@CodewithBurt
@@kaibe5241 Each time you call that action, the Livewire component is hydrated which uses the EloquentCollectionSynth shown in the video and refetches every model in the collection.
Great! Thank you 👌
Welcome!
You could also just setup an action to append more models to the collection. No need for all this logic going on.
You could, but that would generate more queries. Because of the safety mechanism inside eloquent.
How so? The action loads the next 10, and appends it to the existing collection.@@CodewithBurt
@@kaibe5241 Each time you call that action, the Livewire component is hydrated which uses the EloquentCollectionSynth shown in the video and refetches every model in the collection.