These children cannot be seeded into shared state
The message
MARKLESS_SEED_CHILDREN_UNAVAILABLE: <<componentName>> seeds "<statePath>" from its children, but the children written here contain a value that is worked out while they render, so the seed would read nothing.
Shared state is seeded before the projected children render, because those children render from what the seed wrote. Only children the consumer passes as a prop, and children the compiler already spells in full - text, or markup with no expression in it - are known that early.
Write the value as a prop (children={...}), or put text between the tags with no expression in it, or move the write into an event handler where the shared instance is already live.
https://markless.dev/errors/MARKLESS_SEED_CHILDREN_UNAVAILABLEWords in angle brackets change from case to case.
Why
Shared state is seeded before the projected children render, because those children render from what the seed wrote. Only children the consumer passes as a prop, and children the compiler already spells in full - text, or markup with no expression in it - are known that early.
Fix
Write the value as a prop (children={...}), or put text between the tags with no expression in it, or move the write into an event handler where the shared instance is already live.