FeatureFlareBootstrapPayload
Initial flag snapshot shape used to warm client state before the first network fetch.
More on this: see FeatureFlareReactConfig for the config field that accepts this payload.
export type FeatureFlareBootstrapPayload = {
revision?: number;
killSwitches?: string[];
flags?:
| Record<string, boolean>
| Array<{ key: string; value: boolean; revision?: number; updatedAt?: number }>;
};Fields
revision?: number
Optional snapshot revision used to order updates.
killSwitches?: string[]
Optional list of kill-switched flag keys that should override normal evaluation.
flags?: Record<string, boolean> | Array<...>
Accepts either a simple key-to-boolean map or an array of entries when you also want to include per-flag revision and updatedAt metadata.
Related docs
- FeatureFlareReactConfig for config fields that use bootstrap snapshots.