View Source GlificWeb.StatsLive (Glific v5.1.6)
StatsLive uses phoenix live view to show current stats
Link to this section Summary
Functions
Wires up socket assigns necessary for rendering the view
Receives the socket.assigns and is responsible for returning rendered content
Link to this section Functions
@spec mount(map(), map(), Phoenix.LiveView.Socket.t()) :: {:ok, Phoenix.LiveView.Socket.t()}
Wires up socket assigns necessary for rendering the view
@spec render(Plug.Conn.t()) :: Phoenix.LiveView.Rendered.t()
Receives the socket.assigns and is responsible for returning rendered content