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:
EntityandSchemadeclare each record'sid, fields, and valid values.QueryandExprdeclare which fields filter and order a list.Writedeclares a single-row insert, update, or delete byid.Remotereconciles incoming row changes against loaded lists in yourModel.Selectionextracts the exact fields and nested relations a reader wants.Projectionreads a typed slice from yourModeland tracks its field paths.SlotView.regionskips re-rendering a DOM section when its projected inputs match by identity.