Determines the primary source of variants before falling back.

Enumeration Members

Enumeration Members

InitialVariants: "initialVariants"

This bootstrap option is used primarily for servers-side rendering using an Experiment server SDK. This bootstrap option always prefers the config initialVariants over data in local storage, even if variants are fetched successfully and stored locally.

LocalStorage: "localStorage"

The default way to source variants within your application. Before the assignments are fetched, getVariant(s) will fallback to local storage first, then initialVariants if local storage is empty. This option effectively falls back to an assignment fetched previously.