MARKLESS_BRANCH_ARM_UPDATE_UNSUPPORTED
Changing this <label> cannot rebuild what it shows: a Markless compiler warning.
Warning from the compiler, while it builds your .tsrx files.
What happened
Markless prints the message, the reason, and a suggestion:
MARKLESS_BRANCH_ARM_UPDATE_UNSUPPORTED: this <label> (<testSource>) cannot be rebuilt when <testSource> changes because <detail>.
Showing or hiding this content replaces it wholesale from compiled markup plus value reads. A component is rebuilt from the markup its own file compiled, so one that brings state of its own, shows a function it was handed, or — when it comes from another file — shows a value that keeps changing while it is shown has nothing left to be rebuilt from, and the browser would ask for code the build never wrote. That failure stops every other update in the same component.
Move the component outside the <label> and hide it with an attribute, lift its state up to the component that owns the <label>, or keep the <label> content to plain elements, text, and state reads.
https://markless.dev/errors/MARKLESS_BRANCH_ARM_UPDATE_UNSUPPORTED
Words in angle brackets change from case to case.
How to fix it
Start with the suggestion in the message above.
If you accept the warning on purpose, put this comment on the line above it:
// markless-allow MARKLESS_BRANCH_ARM_UPDATE_UNSUPPORTED: the reason you accept it
This page has no guide yet. Help write it.
Where it comes from
@markless/compiler raises this code. Source:
Read how to read a Markless error, or go back to all error codes.
