Skip to content

[flow] Upgrade flow-bin to 0.302.0#35998

Draft
marcoww6 wants to merge 1 commit intofacebook:mainfrom
marcoww6:upgrade-flow-302
Draft

[flow] Upgrade flow-bin to 0.302.0#35998
marcoww6 wants to merge 1 commit intofacebook:mainfrom
marcoww6:upgrade-flow-302

Conversation

@marcoww6
Copy link

Summary

  • Upgrades flow-bin from 0.279.0 to 0.302.0
  • Upgrades flow-remove-types from 2.279.0 to 2.302.0
  • Flow 0.302.0 supports extends in type parameter bounds by default (e.g., <T extends Foo>), aligning with the ongoing fbsource codemod (D95907848)

Context

PR #35996 migrates ReactNativeTypes.js to use extends syntax, but the current Flow version (0.279.0) rejects it with [ts-syntax]. This upgrade unblocks that change.

Test plan

  • CI Flow type checks pass for all renderers

Flow 0.302.0 supports `extends` in type parameter bounds by default
(e.g., `<T extends Foo>`), which aligns with the ongoing codemod in
fbsource (D95907848).
@meta-cla meta-cla bot added the CLA Signed label Mar 10, 2026
@react-sizebot
Copy link

Comparing: 014138d...ed1738d

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 611.79 kB 611.79 kB = 108.12 kB 108.12 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.84 kB 6.84 kB = 1.88 kB 1.88 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 677.72 kB 677.72 kB = 119.08 kB 119.08 kB
facebook-www/ReactDOM-prod.classic.js = 697.67 kB 697.67 kB = 122.58 kB 122.58 kB
facebook-www/ReactDOM-prod.modern.js = 687.98 kB 687.98 kB = 120.96 kB 120.96 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against ed1738d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants