Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: useFeature should watch for forced variations on the client #139

Closed
jennifer-dickinson opened this issue Jan 6, 2022 · 1 comment

Comments

@jennifer-dickinson
Copy link

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.

@jennifer-dickinson 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
@jennifer-dickinson
Copy link
Author

jennifer-dickinson commented Jan 6, 2022

Looks like this is being addressed here: #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant