This text never updates
The message
MARKLESS_TEMPLATE_EXPRESSION_STATIC: <place> reads into <props> in `<source>`. The browser holds a prop only as the plain value the caller passed, and the build cannot tell whether <each> is a plain value or an object, so the expression renders its initial value and never changes when <changing> changes.
A child keeps each prop as one value the caller passed: a string, number or boolean, never the object behind it. An expression that reads into a prop is lowered only when that cannot be an object, so no subscription exists to wake it.
If <value> a string, number or boolean, move the whole expression into a function declared outside the component that takes <value>, and call it in its place: `<callSite>`. If one is an object, have the caller pass the value the expression needs as its own prop.
MARKLESS_TEMPLATE_EXPRESSION_STATIC: <place> reads `<readSource>`, but only plain reads like `{<readSource>}` update the page today. The expression renders its initial value and never changes when `<readSource>` changes.
Each template read compiles to a graph subscription with a DOM-update record; composite expressions are not lowered yet, so no subscription exists to wake this text.
<each> is
https://markless.dev/errors/MARKLESS_TEMPLATE_EXPRESSION_STATICWords in angle brackets change from case to case.
Why
This expression in the markup assigns to a variable, like {local = flag}. Markless cannot keep that text current, so it shows its first value and never changes.
Fix
Move the logic into computed() and render the result.
const label = computed(() => (open ? 'Hide' : 'Show'));<button>{label}</button>If you accept the warning on purpose, put this comment on the line above it:
// markless-allow MARKLESS_TEMPLATE_EXPRESSION_STATIC: the reason you accept it