Commit b16b768
authored
[compiler] Feature flag cleanup (facebook#35825)
Cleans up feature flags that do not have an active experiment and which
we don't currently plan to ship, one commit per flag. Notable removals:
* Automatic (inferred) effect dependencies / Fire: abandoned due to
early feedback. Shipped useEffectEvent which addresses some of the
use-cases.
* Inline JSX transform (experimented, not a consistent win)
* Context selectors (experimented, not a sufficient/consistent win given
the benefit the compiler already provides)
* Instruction Reordering (will try a different approach)
To decide which features to remove, I looked at Meta's internal repos as
well as eslint-pugin-react-hooks to see which flags were never
overridden anywhere. That gave a longer list of flags, from which I then
removed some features that I know are used in OSS.1 parent 2ba3065 commit b16b768
File tree
310 files changed
+88
-15255
lines changed- compiler
- apps/playground/__tests__/e2e
- __snapshots__/page.spec.ts
- packages
- babel-plugin-react-compiler
- docs/passes
- src
- Entrypoint
- HIR
- Inference
- Optimization
- ReactiveScopes
- Transform
- TypeInference
- Utils
- Validation
- __tests__
- fixtures/compiler
- gating
- infer-effect-dependencies
- bailout-retry
- retry-lint-comparison
- new-mutability
- transform-fire
- bailout-retry
- type-annotations
- eslint-plugin-react-compiler/__tests__
- react-forgive
- client/src
- server/src
- requests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
310 files changed
+88
-15255
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
Lines changed: 0 additions & 14 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | 286 | | |
318 | 287 | | |
319 | 288 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
231 | 229 | | |
232 | 230 | | |
233 | 231 | | |
234 | | - | |
235 | 232 | | |
236 | 233 | | |
237 | 234 | | |
| |||
Lines changed: 0 additions & 203 deletions
This file was deleted.
0 commit comments