Expand description
Props — the content/attribute level of a host element — and its
dirty/event bookkeeping (PropsDirty, UpdateEvents).
Structs§
- Props
- Props for a host element. Event handlers never cross the boundary — the
reconciler replaces them with booleans (e.g.
onClick: true) and keeps the actual function in a JS-side map. Visual styling lives entirely inStyle; the fields here are content/attribute level. - Props
Dirty - Which parts of a
Propsa delta update touched; drives which of the reconciler’sapply_*helpers run. Style granularity lives inStyleDirty; the other flags are per prop group. - Update
Events - The “act now” props of an update, split from the retained state: pushed into the live widget once and never stored, so an unrelated later delta can’t replay them (re-push a controlled value, re-clone a canvas display list). Absent fields mean “no event”, exactly like the pre-delta protocol.