Error codesState

A shared() value is hidden by a local of the same name

MARKLESS_SHARED_REFERENCE_SHADOWEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_SHARED_REFERENCE_SHADOWED: "<componentName>" reads the shared() value "<name>" and also declares its own "<name>".
Reads of a shared() value lower to its graph nodes by name inside the component, so a second binding with that name would be read as the shared value too.
Rename the local in "<componentName>", for example `<name>Draft`, so "<name>" names only the shared() value.
https://markless.dev/errors/MARKLESS_SHARED_REFERENCE_SHADOWED

Words in angle brackets change from case to case.

Why

Reads of a shared() value lower to its graph nodes by name inside the component, so a second binding with that name would be read as the shared value too.

Fix

Rename the local in "<componentName>", for example `<name>Draft`, so "<name>" names only the shared() value.

Where Markless raises it

All error codes

Button sounds are from Josh Comeau's Button Sounds library.