Three-argument reducer
Keep conventional useReducer reducer, initial argument, and initializer authoring.
LAZY REDUCER INITIALIZATION
The familiar third-argument reducer initializer now becomes serialized compiler-owned state, while keyed-list fallback paths retain their authored DOM behavior.
WHAT LANDED
Keep conventional useReducer reducer, initial argument, and initializer authoring.
One-parameter initializers may be inline, same-file, or relative-imported functions.
The compiler substitutes serializable input and emits fresh primitive, object, or array literals.
The lowered value reuses synchronous reducer state, dispatch, and DOM ownership.
Capability-specialized keyed lists preserve template cloning and zero-index filling.
Initializer functions and React remain absent from browser deploy assets.
UPGRADE
npm install @kudzujs/core@^0.7.17