A

Admin • 802.91K Points
Coach

Q. What is the use of wire:key in Livewire?

  • (A) Defines a component's key for event bubbling
  • (B) Prevents re-rendering issues with loops
  • (C) Encrypts data
  • (D) Locks a property

Explanation by: Admin
wire:key is used in loops to track elements and prevent DOM diffing issues.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.