Variable: REACTIVE_ACCESSOR_MARKER
Imported from
@react-logic/state
constREACTIVE_ACCESSOR_MARKER: typeofREACTIVE_ACCESSOR_MARKER
Defined in: state/src/lib/state.ts:116
Brand used by @react-logic/core's useLogic tracking pass to recognise
plain-function wrappers that internally subscribe to alien-signals
signals — computedState's dual getter/setter, fetchState (in
@react-logic/utils), and any future reactive accessor. alien-signals'
isComputed/isSignal only match its own bind-produced functions, so
without this brand the framework would skip the field and never
subscribe to its updates.
Use Symbol.for so the contract crosses package boundaries without an
import: any package can mark its wrappers with this brand, and core
recognises them uniformly.