Closed mdilg closed 2 months ago
The createAbby
function exposes the __abbby__
class which has the getFeatureFlags
method. This can be used to read all feature flags outside of the react context. It's important to call await loadProjectData()
beforehand tough to receive the newest data from the Abby API. Otherwise it will use the fallbacks.
If i got it right with tryabby/next 5.1.0 useFeatureFlags was introduced. But is there an equivalent to use outside of a react context. Like getFeatureFlagValue is one for useFeatureFlag?