Error codesEvents

A callback slot can only be filled by the widget root’s own callback prop

MARKLESS_CALLBACK_SLOT_SOURCE_UNSUPPORTEDerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_CALLBACK_SLOT_SOURCE_UNSUPPORTED: "<componentName>" assigns <valueSource> into the "<slotName>" callback slot of shared() "<definitionName>", and <valueSource> is not one of this component's callback props.
A callback slot is a compile-time route, not a stored value: the build records that this widget root’s callback prop answers the slot, and a part invoking the slot dispatches straight to the consumer’s handler. A local function has no consumer to route to, so nothing could be recorded and the call would silently do nothing.
Declare the handler as a prop of <componentName> and assign that prop: <slotName> = <thatProp>.
https://markless.dev/errors/MARKLESS_CALLBACK_SLOT_SOURCE_UNSUPPORTED

Words in angle brackets change from case to case.

Why

A callback slot is a compile-time route, not a stored value: the build records that this widget root’s callback prop answers the slot, and a part invoking the slot dispatches straight to the consumer’s handler. A local function has no consumer to route to, so nothing could be recorded and the call would silently do nothing.

Fix

Declare the handler as a prop of <componentName> and assign that prop: <slotName> = <thatProp>.

Where Markless raises it

All error codes