Reply lets you pipe the reply in a Phoenix LiveView. Just write socket |> assigns |> reply in mount and handle_* functions insted of dealing with tuples.
Reply
socket |> assigns |> reply
mount
handle_*