Use state directly
A specialized child may write useState(value) when value is one direct primitive parent state prop.
LINK · SEED · OWN
Specialized children can initialize local state from one direct primitive parent prop. Kudzu reads the build-known value while preserving independent child ownership and the parent signal relationship.
PROP DATAFLOW
A specialized child may write useState(value) when value is one direct primitive parent state prop.
The compiler verifies the parent state has a build-known string, number, boolean, null, or undefined initializer.
Build scratch reads the parent signal value so RouteIR receives a serializable child initial value.
Parent and child retain separate IDs while handlers and effects preserve structural prop links.
Object/array props, aliases, composed expressions, and arbitrary initializers remain source-diagnosed.
No component runtime, hydration, state library, or browser module is added.
UPGRADE
npm install @kudzujs/core@^0.8.47