Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 738 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 738 Bytes

liveview-clj

Server-side HTML rendering with reactive updates. Massively inspired by Elixir's LiveView

  • WARNING: work in progress

Description

liveview-clj renders HTML page, inject tiny runtime into it, correlate WebSocket connection with the rendered page, rerender page for each state's update and push updated HTML to client.

You can think about liveview-clj as stateful web handlers or Rich Web Application running on server side.

Usage

See examples

Start examples

clj -A:examples and open in browser http://localhost:8000/increment or http://localhost:8000/todo