mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +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. |
||
|---|---|---|
| .. | ||
| transform-lazy-jsx-import-test.js | ||
| transform-prevent-infinite-loops-test.js | ||
| transform-test-gate-pragma-test.js | ||