Use wire:model.defer for input fields in Hub #1063
gavinhewitt
started this conversation in
Feature Requests
Replies: 1 comment
-
We do use defer in a number of places, but it could be added to others. If you have any specific ones that you think need this adding we'd welcome a PR. Also, worth noting I believe Livewire 3 will make defer the default. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not a bug but fields in hub are defined as
wire:model
instead ofwire:model.defer
, resulting in unnecessary roundtrips to the server. In case of forms where at the end you have a save button,wire:model.defer
makes more sense.Beta Was this translation helpful? Give feedback.
All reactions