Shared instance has no such field to seed
The message
MARKLESS_SHARED_SEED_UNKNOWN_FIELD: Cannot write to "<target>" because "<definitionName>()" declares no graph field named "<field>". Instance callback fields such as "<field>" are not supported yet (tracked).
A component body seed is lowered into an initial value for a graph node the shared definition declared. With no matching node there is nothing to seed, and the authored assignment cannot run on the server because the emitted body keeps no local for the shared instance.
Return "<field>" from the <definitionName>() factory as state() or computed() graph data, or pass the callback to the component as a prop and call it from an event handler.
https://markless.dev/errors/MARKLESS_SHARED_SEED_UNKNOWN_FIELDWords in angle brackets change from case to case.
Why
A component body seed is lowered into an initial value for a graph node the shared definition declared. With no matching node there is nothing to seed, and the authored assignment cannot run on the server because the emitted body keeps no local for the shared instance.
Fix
Return "<field>" from the <definitionName>() factory as state() or computed() graph data, or pass the callback to the component as a prop and call it from an event handler.