skillbundle
ExploreOfficialAdd skillDashboardPricing
ExploreOfficialAdd skillDashboardPricing
Install
npx skills add ...
Overview
Documentation
  1. Home
  2. facebook
  3. react
  4. flags

flags

Compare
Install
npx skills add facebook/react --skill flags
Overview
Documentation
Install
npx skills add facebook/react --skill flags
Overview

Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.

Installs

974
Rank #8,091·+18 past 7d

Repository

facebook/react

GitHub stars

246.8k

Updated

Jun 5, 2026

Security

  • Gen Agent Trust Hubwarn
  • Socketpass
  • Snykpass
  • Runlayerpass
  • ZeroLeakspass
Documentation

Feature Flags

Arguments:

  • $ARGUMENTS: Optional flags

Options

OptionPurpose
(none)Show all flags across all channels
--diff <ch1> <ch2>Compare flags between channels
--cleanupShow flags grouped by cleanup status
--csvOutput 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