Skip to content

Commit c3a1ae3

Browse files
rubennortefacebook-github-bot
authored andcommitted
Add comment to indicate how to update generated files for feature flags in ReactNativeFeatureFlags.config.js
Summary: Changelog: [internal] We have a comment explaining how to update all generated files everywhere but here. Reviewed By: NickGerleman Differential Revision: D56717344 fbshipit-source-id: cc538e37dd6ab09f67d67bb13ce4e560870d44d0
1 parent 8f1b270 commit c3a1ae3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212

1313
import type {FeatureFlagDefinitions} from './types';
1414

15+
/**
16+
* This is the source of truth for React Native feature flags.
17+
*
18+
* If you modify this file, you need to update all the generated files
19+
* running the following script from the repo root:
20+
* yarn featureflags-update
21+
*/
22+
1523
// These flags are only used in tests for the feature flags system
1624
const testDefinitions: FeatureFlagDefinitions = {
1725
common: {

0 commit comments

Comments
 (0)