:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { Suspense, lazy } from 'react'
import { Spinner } from '@posthog/lemon-ui'
import { retryImport } from 'lib/utils/retryImport'
// Shared property UI ships on every logged-in page, and the flag lookup only runs inside a popover.
const FeatureFlagPopoverInfo = lazy(() =>
retryImport(() => import('./FeatureFlagPopoverInfo')).then((m) => ({ default: m.FeatureFlagPopoverInfo }))
)
export function LazyFeatureFlagPopoverInfo({ flagKey }: { flagKey: string }): JSX.Element {
return (
<Suspense fallback={<Spinner />}>
<FeatureFlagPopoverInfo flagKey={flagKey} />
</Suspense>
)
}