Skip to content

Commit 7de891a

Browse files
committed
livewire 2
1 parent 731e498 commit 7de891a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.ai/livewire/2/core.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
## Livewire 2
2+
13
- `wire:model` is live by default.
2-
- **Namespace**: Components typically exist in `App\Http\Livewire`.
3-
- **Events**: Use `emit()`, `emitTo()`, `emitSelf()` and `dispatchBrowserEvent()` for events.
4+
- Components typically exist in the `App\Http\Livewire` namespace.
5+
- Use `emit()`, `emitTo()`, `emitSelf()`, and `dispatchBrowserEvent()` for events.
46
- Alpine is included separately to Livewire.
57
- You can listen for `livewire:load` to hook into Livewire initialization, and `Livewire.onPageExpired` for when the page expires:
68
@verbatim

0 commit comments

Comments
 (0)