teamdevsquad liked a comment+100 XP
3mos ago
This super powerful!
I have a suggestion though, this could be syntactic sugar....
we could have namespaced islands like so, using dot notation
@island(name: 'metrics.views-card')
<div class="metrics-card">
.....
</div>
@endisland
@island(name: 'metrics.visitors-card')
<div class="metrics-card">
.....
</div>
@endisland
Outside the islands
<!-- Target all islands -->
<button wire:click="refresh" wire:island="metrics.*">
Refresh All Metrics
</button>
<!-- Target dedicated islands -->
<button wire:click="refresh" wire:island="metrics.views-card">
Refresh views-card
</button>
<button wire:click="refresh" wire:island="metrics.visitors-card">
Refresh visitors-card
</button>
teamdevsquad liked a comment+100 XP
4mos ago
Thanks for giving nice introduction of testing.
teamdevsquad liked a comment+100 XP
4mos ago
Great introduction to testing, thanks!
teamdevsquad liked a comment+100 XP
4mos ago
This is once again a feature that can be very beneficial , if you know what you are doing. Or it can overload a server very quickly once in production. The pro's and con's of making things so simple that people just use it without knowing what really is going down behind the scenes.
teamdevsquad liked a comment+100 XP
4mos ago
@erionke why not start from laravel path
teamdevsquad liked a comment+100 XP
4mos ago
@erionke Just keep coding, eventually it will click and you will get good at it.
teamdevsquad liked a comment+100 XP
4mos ago
recommended way,books and strategy to learn laravel it's like am breaking my mind without getting anything mentor me please i don't get it how to learn better!
teamdevsquad liked a comment+100 XP
4mos ago
that is amazing, but is this polling make server a little bit slower ? or will it impact server performance ?