Using Phoenix LiveView with an asynchronous data source can be somewhat of a chore but it has gotten easier in some of the latest versions of LiveView
with the addition of start_async
and deeper integration with Phoenix.PubSub
.
1 defmodule MyLiveView do
2 use Phoenix.LiveView
3