Answer the question
In order to leave comments, you need to log in
How to start Livewire after page load?
Can you tell a beginner how to start a Livewire component after loading the page with a separate request?
Bottom line: User profile page, you need to display some "heavy" data using Livewire so that the user does not look at the download page.
Answer the question
In order to leave comments, you need to log in
There may be several options. It all depends on your context.
As an option, you can not display the content of your component by framing a mile inside your component in @if @endif
To do this, add a field public bool myParam = false
. When the page loads, call the update of this field via js @this.set('myParam', true)
. And then display your content.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question