mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
Shortcut for the common case where only a single flag is checked. Same as `gate(flags => flags.enableFeatureFlag)`. Normally I don't care about these types of conveniences but I'm about to add a lot more inline flag checks these all over our tests and it gets noisy. This helps a bit. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| getComments.js | ||
| transform-lazy-jsx-import.js | ||
| transform-object-assign.js | ||
| transform-prevent-infinite-loops.js | ||
| transform-react-version-pragma.js | ||
| transform-replace-console-calls.js | ||
| transform-test-gate-pragma.js | ||