@@ -98,9 +98,10 @@ export type Account = {
|
||||
recentGifs?: Gif[]
|
||||
|
||||
/**
|
||||
* Persistent cold-start snapshot of `bskyAppState.isBetaUser`. Hydrates the
|
||||
* runtime cache so the GrowthBook attribute and request header are available
|
||||
* synchronously before preferences load. Written back when preferences load.
|
||||
* Cached from preferences (`bskyAppState.isBetaUser`) so the GrowthBook
|
||||
* `isBetaUser` attribute can be set synchronously at analytics init, before
|
||||
* beta-gated features (e.g. SearchV2Enable) are first evaluated. Written back
|
||||
* when preferences load.
|
||||
*
|
||||
* Scoped per account, since `isBetaUser` is account-specific preference data.
|
||||
* Reading it globally would let a beta account's value leak into a non-beta
|
||||
|
||||
Reference in New Issue
Block a user