useFeatureFlag: Feature Flags with React and Webpack
Feature flags are an instrumental part of continuous deployment. It’s essential to be able to gradually roll out features, but keep them hidden from the production environment until you’re ready to flip the switch. It’s fairly easy to implement this in ES6 with React and Webpack. Here’s an example of how I’ve done it in the past.