Skip to content
djust/docs
Appearance
Mode
djust.org →

Core concepts / The mental model

Four pages will give you the 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.

§ I

The four primitives.

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.

§ Index

Read in any order

Each page stands on its own. Below are the same four pages with their canonical URLs.