Error codesState

A destructured prop or state has a default

MARKLESS_STATE_DESTRUCTURE_DEFAULT_UNSUPPORTEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_STATE_DESTRUCTURE_DEFAULT_UNSUPPORTED: Cannot create graph alias "<localName>" from "<target>" with a default value.
A destructuring default must run only when the property value is undefined. The current graph alias artifact can represent a graph path, but not a fallback expression without changing JavaScript semantics.
Use an explicit computed() for fallback logic, or read the graph path directly without a destructuring default.
https://markless.dev/errors/MARKLESS_STATE_DESTRUCTURE_DEFAULT_UNSUPPORTED

Words in angle brackets change from case to case.

Why

A destructuring default must run only when the property value is undefined. The current graph alias artifact can represent a graph path, but not a fallback expression without changing JavaScript semantics.

Fix

Use an explicit computed() for fallback logic, or read the graph path directly without a destructuring default.

Where Markless raises it

All error codes