Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
I tried wire:init like in this demo. However I have 2 inits with different endpoints with loading text.
The problem I'm seeing is that both inits need to be collected before showing the data. For example:
I have 1 init checking the database and I have another init that pulls from an API. The db init will not display until the API init is completed.
I don't think I have a solution for this, never tried multiple wire:init, not even sure Livewire supports/recommends it.
wire:init
I tried wire:init like in this demo. However I have 2 inits with different endpoints with loading text.
The problem I'm seeing is that both inits need to be collected before showing the data. For example:
I have 1 init checking the database and I have another init that pulls from an API. The db init will not display until the API init is completed.
I don't think I have a solution for this, never tried multiple
wire:init, not even sure Livewire supports/recommends it.