set
Reactively applies value to the component. block runs, with the typed component as this and value as its argument, on the first composition and again only when value changes between recompositions.
Parameters
value
the declaration to apply, compared against the previous pass's with equals.
block
applies value to the component. It runs while the composition applies its changes, not while composing.
See also
Updater.set