Core concepts / The mental model
LiveView, Events, Components, Templates — what they are, how they fit together, and why the diff happens before bytes leave the server.
djust borrows the LiveView shape from Phoenix and the component shape from React, and runs both on a Rust VDOM. These four pages are the smallest amount of conceptual material you can read and still build something non-trivial. Twenty minutes total.
Each page is short and self-contained. Read in order for the linear model; jump straight to a primitive if you already know the rest.
A Python class with reactive state.
What a LiveView is, where it lives in the request cycle, how the WebSocket upgrade hands off from the initial HTTP render, and how state survives reconnects.
Read the guide →How user actions reach Python handlers.
dj-click, dj-input, dj-submit, dj-debounce. The JSON event payload, the handler-shape contract, and how parameters flow from DOM to Python.
Reusable view fragments.
Stateless components vs. LiveComponent (stateful, lifecycle-managed). Parent-child event bubbling via send_parent; the unified Rust → Python implementation pickup.
Django syntax, Rust execution.
djust ships a Rust template backend that runs the Django template language at native speed. What's supported, what falls back to the Python backend, and the differences worth knowing.
Read the guide →Each page stands on its own. Below are the same four pages with their canonical URLs.