From 3e3244012d96967d154f3d0c887d2b83ff91b057 Mon Sep 17 00:00:00 2001 From: Kurt King Date: Tue, 22 Nov 2022 19:37:23 -0600 Subject: [PATCH] add disclaimer to FeatureFlagged section Signed-off-by: Kurt King Signed-off-by: Kurt King --- docs/plugins/feature-flags.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/plugins/feature-flags.md b/docs/plugins/feature-flags.md index a26eb49a9b..c796058ace 100644 --- a/docs/plugins/feature-flags.md +++ b/docs/plugins/feature-flags.md @@ -52,6 +52,8 @@ import { FeatureFlagged } from '@backstage/core-app-api' ``` +If you use a `` component, you do not need to pass `featureFlags: [{ name: 'show-example-feature' }],` into the `createPlugin()` like done at the top of this page. Doing so will cause duplicate entries to appear under `Settings` > `Feature Flags`. + ## Evaluating Feature Flag State It is also possible to test the feature flag state using the [FeatureFlags Api](https://backstage.io/docs/reference/core-plugin-api.featureflagsapi).