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

RFC: FastStore Feature Flag / Experimentation #2322

Open
batzlerg opened this issue May 21, 2024 · 0 comments
Open

RFC: FastStore Feature Flag / Experimentation #2322

batzlerg opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@batzlerg
Copy link
Contributor

Describe the feature you'd like
Support for injecting feature flag / experiment values at the top level of the app, to be consumed anywhere.

Proposed implementation is a top-level context + provider, populated by a user-defined function to provide experiment values which implements a specified interface. The provider can then wrap the core Component in _app.tsx, like the current UIProvider implementation.

Describe alternatives you've considered
A GraphQL API extension which allows users to query experiment values along with data. Rejected internally due to lack of flexibility in use cases such as running experiments inside API resolvers, preferred

Additional context
An RFC doc with more specific implementation ideas will be provided to the VTEX FastStore Experience team.

@batzlerg batzlerg added the enhancement New feature or request label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant