add disclaimer to FeatureFlagged section

Signed-off-by: Kurt King <kurtaking@gmail.com>
Signed-off-by: Kurt King <kurt.king@procore.com>
This commit is contained in:
Kurt King
2022-11-22 19:37:23 -06:00
committed by Kurt King
parent 3733c02da0
commit 3e3244012d
+2
View File
@@ -52,6 +52,8 @@ import { FeatureFlagged } from '@backstage/core-app-api'
</FeatureFlagged>
```
If you use a `<FeatureFlagged>` 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).