-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
The current useDecision
hook can only work with one feature flag and return only one OptimizelyDecision.
In situation where more than one decision is needed, a useDecisions hook can be used rather than using multiple useDecision hooks. This is especially important for cases where the flags used would change dynamically, for example a switchByFeatureFlags function, which accept multiple flags as argument.