Overview
Feature flags let you enable or disable features in your overlay without deploying a new version. Flags are managed through the Overlayed Dashboard and automatically fetched by@overlayed/app.
Registering Flags
Pass an array of flag names to thefeatureFlags option. Use as const for full type safety.
If a registered flag name is not found in the API response, a warning is logged to help catch typos or removed
flags.
Checking Flag Status
Listening for Changes
Feature flags are automatically fetched:- When your the overlay bootstraps
- Every 10 minutes
- When a game launches or closes
Manual Refresh
Force a refresh from the API at any time:Overriding Flags
Override flag values locally. Overrides persist across API refetches and take precedence over API values. Override a single flag:When a flag is overridden, changes from the API do not emit change events. This prevents unwanted behavior
when testing with overridden values.

