Skip to content

Switch to modern flow syntax for utility types and bounds#470

Merged
SamChou19815 merged 1 commit into
mainfrom
modern-flow-syntax
May 6, 2026
Merged

Switch to modern flow syntax for utility types and bounds#470
SamChou19815 merged 1 commit into
mainfrom
modern-flow-syntax

Conversation

@SamChou19815

@SamChou19815 SamChou19815 commented Apr 1, 2026

Copy link
Copy Markdown
Member

Depends on #469

@meta-cla meta-cla Bot added the cla signed label Apr 1, 2026
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.

Results Base Patch Ratio
react-strict-dom/dist/web/index.js
· compressed 3,251 3,251 1.00
· minified 10,375 10,375 1.00
react-strict-dom/dist/web/runtime.js
· compressed 1,645 1,645 1.00
· minified 4,131 4,131 1.00
react-strict-dom/dist/native/index.js
· compressed 16,580 16,580 1.00
· minified 64,168 64,168 1.00
react-strict-animated/dist/web/index.js
· compressed 6,861 6,861 1.00
· minified 23,486 23,486 1.00
react-strict-animated/dist/native/index.js
· compressed 797 797 1.00
· minified 2,518 2,518 1.00

@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

workflow: benchmarks/perf (native)

Comparison of performance test results, measured in operations per second. Larger is better.

Results Base Patch Ratio
css.create
· small 1,154,142 1,124,278 0.97 -
· small with units 505,298 492,270 0.97 -
· small with variables 666,499 658,813 0.99 -
· several small 357,706 346,623 0.97 -
· large 201,637 200,151 0.99 -
· large with polyfills 147,712 148,324 1.00 +
· complex 100,921 101,988 1.01 +
· unsupported 211,256 209,568 0.99 -
css.createTheme
· simple theme 220,560 220,651 1.00 +
· polyfill theme 209,243 209,171 1.00 -

@SamChou19815 SamChou19815 marked this pull request as ready for review April 1, 2026 20:56
@SamChou19815 SamChou19815 force-pushed the modern-flow-syntax branch from 72d9a6d to be4c24d Compare May 6, 2026 20:19
@SamChou19815 SamChou19815 merged commit fcc9f73 into main May 6, 2026
10 checks passed
@SamChou19815 SamChou19815 deleted the modern-flow-syntax branch May 6, 2026 20:25
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.

1 participant