Release beta features
How to release beta features to your React app with Bucket
In this post, we'll take the following steps:
Step 1: Flag your new feature in React
Step 2: Set up your feature rollout strategy
Step 3: Start collecting user feedback
Step 1: Flag your new feature in React
First off, you need to sign up for Bucket — sign up here
Now let's create your first feature.
Click
New feature
in the sidebar.Give your feature a name and you'll get a
feature key
.
We'll use this feature key
to flag the new feature in the codebase.
Let's install the Bucket React SDK.
Copy/paste this in your terminal:
Let's initialize the client and install the access checking:
Let's deploy.
Step 2: Set up your feature rollout strategy
Head back over to your dashboard, select your new feature, and navigate to the Access
tab to manage who gets access.
We set the feature stage to
Beta
Here we're running a public beta, so we just pick
Everyone
Hit
Save
to ship the beta feature to everyone
All set!
Pro tip: You can integrate with Slack to keep the team informed and get notified about feature access and stage updates. This ensures everyone is aligned during the rollout process.
Step 3: Start collecting user feedback
You want to make sure you get it right before making your new feature Generally Available (GA).
Let's add a feedback button. It's simple, you need to add requestFeedback
and trigger it on a button.
See example here:
Pro tip: you can also use track
to measure feature adoption. This gives you a list of early adopters and you may reach out to them for in-depth feedback once they've used your new feature.
Next step: Going GA
Let's recap:
We created a feature flag
We rolled it out in public beta
We started collecting user feedback
The next step is to iterate on the feature based on customer feedback and, when ready, to release it in GA.
To do so, you need to go back to the Access
tab and bump the stage to GA
.
That's it! Keep shipping.
Last updated
Was this helpful?