|
|
|
|
|
by andix
498 days ago
|
|
It's even okay to hardcode them into code (not a config/json file). Depending on the build pipeline this is similar to preprocessor flags, and the code will be removed during build. It might be enough to test new features with a limited audience (beta build, test deployments for stakeholders/qa). If done correctly this solution can be easily extended to use a feature flag management tool, or a config file. PS: removing new features during build/tree-shaking/etc adds some additional security. In some cases even disabled features could pose a security risk. Disabled features are often not perfectly tested yet. |
|
Yes, as I understood it that was what the article was all about.