Reference
Glossary
Glossary
The terms these docs use with a specific meaning, in alphabetical order.
- Boundary. The code that a
$$call covers, with its nested$composablecalls and entry bodies. Reactivity stops at the boundary. See basic reactivity. - Compile-time name. An export of
silmarilthat the compiler removes from the output:$$,$,$sync,$skip,$store,$composable,onMountandonDestroy. See the API reference. - Composable. A function wrapped in
$composable. It runs in its own scope under the scope of its caller. See composition. - Computed variable. A variable whose initializer reads a reactive variable. It evaluates again when a variable it reads changes. Also called a memo. See computed variables.
- Dispose. Stop a scope. Its child scopes are disposed first, then its
onDestroycallbacks and store unsubscribes run. See lifecycles. - Entry. A piece of code that runs again: a computed variable, a store write-back, a
$syncbody or a$body. See internals. - Flush. The microtask in which queued
$bodies run.tick()resolves at its end. See synchronous tracking. - Graph. The list, for each slot, of the entries that read it. The compiler writes it into the module. See internals.
- Local function. A function declaration, or a
const,letorvarwith a function initializer, declared in the same setup and never written. A call to it by name tracks what it reads. See limits. - Opaque call. A call whose reads the compiler cannot see, such as a call to an imported function. See limits.
- Reactive variable. A variable declared directly in a setup that is written after its declaration, reads a reactive variable, or binds a store. See basic reactivity.
- Scope. The runtime state of one setup or one run of an entry: its slots, its child scopes and its callbacks. See internals.
- Setup. The function passed to
$$or$composable. A$$setup runs once, at the$$call. A$composablesetup runs at each call of the composable. - Slot. The numbered place in a scope where the runtime keeps the value of a reactive variable. See internals.
- Store. An object with
getandsubscribe, and optionallyset, that$storebinds to a variable. See stores. - Write. An assignment, an update such as
count += 1, or a store change. Changing an object in place is not a write.