flags
- Repo stars 245,422
- Author repo react
- Domain
- Engineering
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @facebook · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# Feature Flags
Arguments:
- $ARGUMENTS: Optional flags
## Options
| Option | Purpose |
|--------|---------|
| (none) | Show all flags across all channels |
| `--diff <ch1> <ch2>` | Compare flags between channels |
| `--cleanup` | Show flags grouped by cleanup status |
| `--csv` | Output in CSV format |
## Channels
- `www`, `www-modern` - Meta internal
- `canary`, `next`, `experimental` - OSS channels
- `rn`, `rn-fb`, `rn-next` - React Native
## Legend
✅ enabled, ❌ disabled, 🧪 `__VARIANT__`, 📊 profiling-only
## Instructions
1. Run `yarn flags $ARGUMENTS`
2. Explain the output to the user
3. For --diff, highlight meaningful differences
## Common Mistakes
- **Forgetting `__VARIANT__` flags** - These are tested both ways in www; check both variants
- **Comparing wrong channels** - Use `--diff` to see exact differences
Sections and files
Listed in source order.
sections -> Options → Channels → Legend → Instructions → Common Mistakes
terms -> Forgetting VARIANT flags · Comparing wrong channels · 1. Run yarn flags $ARGUMENTS 2.
files/cmd -> --diff <ch1> <ch2> · --cleanup · --csv · www · www-modern · canary · next · experimental
body sha256 -> aa9201b11eb3
Options
Option · Purpose (none) · Show all flags across all channels
--diff <ch1> <ch2>· Compare flags between channels--cleanup· Show flags grouped by cleanup status--csv· Output in CSV formatChannels
www,www-modern- Meta internalcanary,next,experimental- OSS channelsrn,rn-fb,rn-next- React NativeLegend
✅ enabled, ❌ disabled, 🧪
__VARIANT__, 📊 profiling-onlyInstructions
Run
yarn flags $ARGUMENTSExplain the output to the user For --diff, highlight meaningful differencesCommon Mistakes
Forgetting
__VARIANT__flags - These are tested both ways in www; check both variants Comparing wrong channels - Use--diffto see exact differences