Skip to content

Feature Flags: option to fully control when the feature flags are reloaded #272

Open
@theop-luma

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.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions