Helper hook that manages the feature flag state and source lifecycle. This hook calls the init and fetch functions of the source object
the flag configuration
the feature flag context
Fetches a specific feature flag value from the feature flag context
the unique key of the flag to fetch
Fetches the feature flag context in its entirety from the React.Context
Fetches the feature flag object from the feature flag context
Generated using TypeDoc
the default
localStorage
key to use when caching the resolved feature flags