You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the useExperiments hook adds a listener to the client to fetch decisions if a variation has been forced. Since the useFeature hook also uses decisions if an experiment is active, it makes sense that it should also fetch the decisions, but this is currently not the case.
This can be tested by setting up an experiment and using the useFeature hook. You'll notice that if you force a variation, the useFeature properties isFeatureEnabled and variables are never updated.
The text was updated successfully, but these errors were encountered:
jennifer-dickinson
changed the title
useFeature should watch for forced variations on the client
Feature request: useFeature should watch for forced variations on the client
Jan 6, 2022
Currently the useExperiments hook adds a listener to the client to fetch decisions if a variation has been forced. Since the useFeature hook also uses decisions if an experiment is active, it makes sense that it should also fetch the decisions, but this is currently not the case.
This can be tested by setting up an experiment and using the useFeature hook. You'll notice that if you force a variation, the useFeature properties isFeatureEnabled and variables are never updated.
The text was updated successfully, but these errors were encountered: