A write to an outside object is not tracked
The message
MARKLESS_STATE_UNRESOLVED_WRITE: The write to "<target>" runs imperatively, but Markless does not track it as graph state.
Member-expression writes can update host objects at runtime, but they do not produce resumable state graph updates.
Declare the local before writing it, or move UI-changing values into state() so Markless can serialize and resume the update.
MARKLESS_STATE_UNRESOLVED_WRITE: Cannot write to "<target>" because the compiler cannot resolve that target.
This write is not a known state() graph path, graph alias, declared plain local, or classified module-scope binding.
Declare the local before writing it, or move UI-changing values into state() so Markless can serialize and resume the update.
https://markless.dev/errors/MARKLESS_STATE_UNRESOLVED_WRITEWords in angle brackets change from case to case.
Why
Member-expression writes can update host objects at runtime, but they do not produce resumable state graph updates.
Fix
Declare the local before writing it, or move UI-changing values into state() so Markless can serialize and resume the update.
If you accept the warning on purpose, put this comment on the line above it:
// markless-allow MARKLESS_STATE_UNRESOLVED_WRITE: the reason you accept it