Expose state, not setters
Provider values keep readable state and public actions without publishing implementation-only setter fields.
HIDE · PROVE · SPECIALIZE
Context actions can keep implementation-only setters out of the public Provider value. Kudzu restores only what compilation needs and still emits direct state operations.
CONTEXT DATAFLOW
Provider values keep readable state and public actions without publishing implementation-only setter fields.
The compiler adds only setters required by selected synchronous actions to build-time Provider data.
Existing handler lowering still emits direct notes and activeId state operations.
Compiler-owned aliases avoid collisions without changing authored hook destructuring.
Fully hidden action state, setter-only exposure, private captures, and indirect action references remain rejected.
No Context object, Provider tree, action function, setter registry, or new runtime survives compilation.
UPGRADE
npm install @kudzujs/core@^0.8.46