What's wrong with this entry?
Anonymous. No account, no email.
What: Statsig dynamic configurations are now cached in application state for faster access How to use: This is automatic. Config values are returned immediately from cache while fresh values are fetched in the background.
Details:
- New
cachedDynamicConfigsobject in state stores config values by key B2Q(configName, defaultValue)retrieves cached value immediately, fetches fresh value asynchronouslyQ2Q(configName)clears a specific cached config- Reduces repeated API calls to Statsig
- Improves initial render performance
- Evidence:
cachedDynamicConfigsat line 440962,B2Q()at line 441924,Q2Q()at line 441937 in v2.0.10 (did not exist in v2.0.9)