DevCycle changelog

Feature Flag Obfuscation

changelog cover

Feature flags are often used to hide upcoming features before release. Normally, not showing the feature on a UI is enough to conceal it from users. However, in some cases, it may be important to ensure that no trace of the feature can be found in the code that is shipped to users. This is particularly important on the web, where end-users can easily see network calls as well as the source code for the page. From that, intrepid users can often infer the nature of a feature they can't access, which may lead to sensitive or strategic information being leaked.

To prevent this, we created Feature Obfuscation which allows you to obfuscate all the Variable keys used in your code in Web platforms (React, Next.js, Javascript etc.) to keep their names private! Next.js users can also take advantage of our SDK's Conditional Deferred Rendering feature, which will strip out any source code for features the user isn't eligible for, reducing bundle size while keeping the feature's details private.