Error codesState

Element() handle is read before it is bound

MARKLESS_ELEMENT_HANDLE_UNBOUNDerror or warningMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_ELEMENT_HANDLE_UNBOUND: Reading element handle "<source>" will produce undefined because "<handleName>" is never bound with el={<handleName>} in this component.
element() handles are DOM locator references, not state. A read is only useful after the handle has a host element binding that resume can locate.
Bind the handle to one host element with el={handle}, or remove the read if undefined is intentional.
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_UNBOUND

Words in angle brackets change from case to case.

Why

element() handles are DOM locator references, not state. A read is only useful after the handle has a host element binding that resume can locate.

Fix

Bind the handle to one host element with el={handle}, or remove the read if undefined is intentional.

If you accept the warning on purpose, put this comment on the line above it:

// markless-allow MARKLESS_ELEMENT_HANDLE_UNBOUND: the reason you accept it
Where Markless raises it

All error codes