Learn / From declarations to the screen

How one declaration crosses boundaries

Declarations build inspectable values; they perform no database queries or network requests on their own. Instead, interpreters on the server and client read them when data moves across seven steps:

  1. Entity and Schema declare each record's id, fields, and valid values.
  2. Query and Expr declare which fields filter and order a list.
  3. Write declares a single-row insert, update, or delete by id.
  4. Remote reconciles incoming row changes against loaded lists in your Model.
  5. Selection extracts the exact fields and nested relations a reader wants.
  6. Projection reads a typed slice from your Model and tracks its field paths.
  7. SlotView.region skips re-rendering a DOM section when its projected inputs match by identity.