Things I Learned using Phoenix LiveView in 2024 (Part 2)
The beauty of assign_async/3 and async_result/1
# LiveView
def handle_params(params, _uri, socket) do
{:noreply,
socket
# ... more assigns here
|> assign_async_coffees()}
end
# ... more code here
defp assign_async_c...
paugramming.hashnode.dev2 min read