In the following code, a value is updated if :noreply is returned, however - value is not updated when :ok is returned. Why is this?
@impl true
def handle_event("increase", _, socket) do
### this doesn't update value
{:ok, update(socket, :value, &(&1 + 1))}
### this DOES update value
{:noreply, update(socket, :value, &(&1 + 1))}
end