Reactively evaluates a boolean feature flag and exposes the full evaluation detail (value,
variationIndex, reason). Reasons are populated only when withReasons is enabled.
Parameters
key: MaybeRefOrGetter<string>
the feature flag key (plain, ref, or getter)
defaultValue: boolean
value returned while the flag loads or if it cannot be evaluated
Reactively evaluates a boolean feature flag and exposes the full evaluation detail (value, variationIndex, reason). Reasons are populated only when
withReasonsis enabled.