Unleash React - What is Feature Flagging?
Feature flags are a powerful tool in the developer's toolbox. Instead of releasing code in large features and risky deployment operations, new features can be developing incrementally and turned on and off in production by toggling a flag, selecting certain users, or other similar strategies. This makes the deployed code less volatile and provides an easy way to rollout and rollback code changes with less impact and risk.
In this series, I am going to introduce you to feature flags and show you from start to finish how to get started with feature flagging in a React application.
This series includes:
- Intro to Feature Flagging and Unleash (this post)
- Running the Unleash Server
- Configuring Unleash Proxy
- Creating the React App
You can find the full sample application available in GitLab.
Unleash is one of several frameworks available that developers can use to add feature flags to their applications. Notably, it is open-source software.
The heart of the Unleash architecture is the Unleash Server. It contains all of the feature flags and strategies employed to control the flag state.
In addition to the server, Unleash has SDK libraries for a number of popular languages. They also have lightweight proxy SDKs for client-side apps which I'll touch on later.
Now that you have a basic understanding of feature flagging and Unleash, let's get Unleash running in docker.