Skip to content

Disabling feature flag doesn't disable feature flags still in client cache #1656

Open
@timgl

Description

Bug description

Disabling feature flags doesn't actually cause the JS SDK to return false for that feature flag if it was already seen by user

How to reproduce

  1. Create feature flag and enable it
  2. Refresh page, see that posthog.isFeatureEnabled('query-websocket') is true
  3. Disable feature flag
  4. Refresh page. query-websocket doesn't show up in /decide anymore, but posthog.isFeatureEnabled('query-websocket') still returns true

Additional context

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions