slotsToChildren
disposition: bound, direction: spec-to-code, basis: implementation
A prop rule of the React binding. The kinds named below resolve jointly here — which kind a prop even is, or what platform shape it takes, is decided by this rule rather than per kind.
Keys. slot
Operands
Every fact the rule reads. Nothing outside this set participates.
| Operand | From |
|---|---|
prop.defaultSlot | spec document (ADR-099) |
configuration.value | the filling configuration |
Cases
Ordered — first match wins.
| # | When | Emits | Why |
|---|---|---|---|
| 1 | prop.defaultSlot = true and configuration.value present | the fill as this instance’s JSX children — the scaffold reads its designated default slot from props.children | Whatever kind the fill is: a $slotContent reference composes, a literal string becomes JSX text |
| 2 | configuration.value = a $slotContent reference on a non-default slot | <prop>={<>…composed JSX…</>} as a named attribute | An explicit binding is the only shape that can say which of several slots a fill belongs to |
Otherwise
Nothing is emitted. — A prop’s spelling never nominates a default slot — with no declared defaultSlot, every fill is a named prop and a literal string against an undeclared slot is refused
The declared defaultSlot is the TARGET component’s, read from its contract — never inferred from the key’s spelling.