🐛 PostHog Feature Flag Bug Reproduction
📊 Test Results
useFeatureFlagEnabled('something-that-doesnt-exist')Returns: undefined
useFeatureFlagEnabled('non-existent-flag')Returns: undefined
posthog.getFeatureFlag('something-that-doesnt-exist')Returns: undefined
posthog.isFeatureEnabled('something-that-doesnt-exist')Returns: undefined
💡 Expected behavior: Non-existent feature flags should return false or undefined, not true.
📋 Check the browser console for detailed logs.
⚙️ PostHog Configuration
{
api_host: 'https://app.posthog.com',
api_key: 'phc_lff2mSdTzwXBjrFxsB4A4SVa9avouSP09dbTG5QjefC',
person_profiles: 'identified_only'
}📝 Note: Using a test key that won't connect to a real PostHog instance. Replace with your actual PostHog key in .env.local to test against your project.