Initial variants are fallback when source is local storage, disabling automatic exposure. However, local storage variants are not fallback when source is initial variants. Is there a reason for that?
Hi @SherifGhoz, many thanks for your question. Local storage variants are always fetched variants (via remote evaluation), and thus not considered fallbacks.
Some additional context for expected behavior, happy to provide additional clarification if needed!
Initial variants are fallback when source is local storage, disabling automatic exposure. However, local storage variants are not fallback when source is initial variants. Is there a reason for that?
https://github.com/amplitude/experiment-js-client/blob/3d6f5ba82e6f4eef23e5977ed2288cd83bc74627/packages/experiment-browser/src/types/source.ts#L50