Mise à jour du composant LiveView
@impl Phoenix.LiveComponent
def update(assigns, socket) do
# update logic
{:ok, socket}
end
Mellow Cobra
@impl Phoenix.LiveComponent
def update(assigns, socket) do
# update logic
{:ok, socket}
end