FlagsState
Shared state shape returned by multi-flag React hooks.
More on this: this type is produced by the React flag hooks and uses the same provider context established by FeatureFlareProvider.
export type FlagsState = {
flags: Array<{ key: string; value: boolean }>;
loading: boolean;
error: string | null;
};Fields
flags
Current list of evaluated boolean flags returned for the active user.
loading
True while the first fetch is pending or no cached data exists yet.
error
Normalized error message for the most recent failed fetch, or null.