packagist livewire/livewire v0.2.0

latest releases: dev-main, v3.4.11, dev-add-without-lazy-loading-test-helper...
4 years ago

Added

  • hydrate() hook -> this will behave like the old ->updating() hook. It will run at the beginning of every Livewire request, before the actions or property updates are run.
  • Support for multiple wire:targets: wire:target="foo, bar" for wire:ref="foo" and wire:ref="bar"
  • Changed the $name property to be a ->getName() method on the component instead. This way users can set a $name property on the component and not interfere with Livewire core.
  • ->redirectRoute() and ->redirectAction() helpers have been added.

Fixed

  • wire:loading states are now reset after an error occurs.

Don't miss a new livewire release

NewReleases is sending notifications on new releases.