DEV Community

Cover image for Why and When you need Feature Flags — with examples
Raksha for Canopas Software

Posted on

Why and When you need Feature Flags — with examples

What is a Feature Flag?

Feature Flag is a coding practice where while working on a new feature, everything related to that feature will be developed in a such a way that the feature can be enabled/disabled from a boolean flag.

That means we don’t need to keep track of multiple branches in case of hot-fix. The app can easily be shipped with feature flag OFF and it will behave exactly like it was before the feature was introduced.

Feature flag are even more handy when there are multiple team members contributing to a repository. In that case, sometimes the team will have multiple features in progress and Feature Flag will be the ultimate solution.

Alright, enough with the intro, let’s move on to how you can start using them now!

You can more read on blog.canopas.com

Top comments (0)