Kudzu 0.8.9 - Context-backed CRUD actions
Kudzu 0.8.9 specializes state-backed actions exposed through one conventional Context Provider and relative custom hook.
New
- Resolve a relative zero-argument custom hook that directly returns
useContext(ContextIdentifier). - Specialize one Provider value containing direct shorthand
useStatepairs and synchronous state-backed actions. - Inline direct Context action calls into existing route handler ESM and concrete state operations.
- Compose object-array CRUD with keyed rows, reactive selection, conditional editors, and guarded local storage in the React Notes migration.
- Diagnose private captures, hidden state dependencies, indirect action references, dynamic Provider values, multiple Providers, and consumer binding collisions.
- Keep static sibling routes JavaScript-free and emit no Context runtime, Provider tree, callback registry, VDOM, or hydration.
- Pass the complete 139/139 test suite.
Boundary
The hook must directly return useContext(ContextIdentifier). The Context and exactly one Provider must be declared together in one local or named relative module, and its value must be one direct shorthand object. Actions must be synchronous, called directly in intrinsic handlers, and capture only exposed Provider state pairs.
Upgrade
npm install @kudzujs/core@^0.8.9