LocalLiveView
LocalLiveView is a library for running Phoenix LiveView state in the browser, powered by Popcorn.
LocalLiveView compiles your Elixir modules to WebAssembly and runs them via Popcorn directly in the browser. You get zero-latency UI and offline capability while using the same Phoenix LiveView API you already know.
Documentation
The API documentation and guides are available at https://hexdocs.pm/local_live_view
Examples
The source code for all examples is in the examples/ directory of this repository:
local-lv-thermostat— Basic state management and eventslocal-lv-forms— Form handling with validation and Mirror Synclocal-lv-compare— Side-by-side comparison of Phoenix LiveView vs LocalLiveViewlocal-lv-kanban— Kanban board with forms, modals and drag & droplocal-lv-burrito— In-depth side-by-side comparison: where state is kept in each model, and how LocalLiveView restores it across reconnects