This software is a very early release, and not ready for general use.

Public home: github.com/dcoai/macaw_live · Docs: hexdocs.pm

Macaw's LiveView runtime (spec/00). Macaw's core, macaw, holds every value a live page needs, and every one is pure; macaw_live runs them. It mounts a surface or a page in a LiveView, proves each cell's render in a process of its own, holds contained values in cells, carries events to the cells they change, reads live data through the page's graph, and serves the page's assets from its own origin. A page renders complete without a socket.

ModuleWhat it is
Macaw.Live, Macaw.Live.Supervisorthe host's entry: mounting a surface or a page in a LiveView, and the supervisor a host adds to its tree (spec/01)
Macaw.Live.Page, Surface, CellComponent, Proofthe page process, the surface's components, and each cell's render proven in a process of its own (spec/01)
Macaw.Live.Cellthe contained cell: a process holding one contained value (spec/02)
Macaw.Live.Data, Pulse, Derived, Reader, Notifythe page's readers, their subscriptions, its ranked pulses and its derived sources (spec/03)
Macaw.Live.Edge, Shared, Region, Visitchanges carried between processes, the :shared owner, persistent regions and the visit (spec/04)
Macaw.Live.Client, Shortcuts, Hooksannouncements, focus, the page-shortcut registry and the generated hooks module (spec/05)
Macaw.Live.Proxy, Assetsthe same-origin asset proxy, and generated stylesheets and static files (spec/06)

Installation

On macaw, macaw_component, macaw_data, macaw_layers and macaw_base, Phoenix LiveView and Plug. From Hex:

{:macaw_live, "~> 0.1.0"}

Part of Macaw.

License

MIT; see the LICENSE file.