Feature Flags: option to fully control when the feature flags are reloaded #272
Open
Description
Problem Statement
Currently, PostHogConfig
has a preloadFeatureFlags
property which if you switch to false, doesn't load the feature flags during initial setup
. This doesn't seem to stop however the feature flags being reloaded later when the user is first identified in identify
or the session is reset
. In those cases reloadFeatureFlags
is called since shouldReloadFlagsForTesting
seems to always be true
.
Solution Brainstorm
It would be really good if we could fully control when these flags are reloaded, to make sure we schedule it at a convenient time for the app.