Skip to content

Update @stylexjs/stylex to 0.13 #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged

Update @stylexjs/stylex to 0.13 #311

merged 1 commit into from
May 28, 2025

Conversation

necolas
Copy link
Contributor

@necolas necolas commented May 21, 2025

Updates to stylex 0.13 and stubs out the new APIs on native

Copy link

github-actions bot commented May 21, 2025

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/dom/index.js
· compressed 2,513 2,515 1.00 +
· minified 8,695 8,688 1.00 -
react-strict-dom/dist/dom/runtime.js
· compressed 855 855 1.00
· minified 2,435 2,435 1.00
react-strict-dom/dist/native/index.js
· compressed 15,952 16,004 1.00 +
· minified 59,670 59,939 1.00 +

Copy link

github-actions bot commented May 21, 2025

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,135,067 1,127,644 0.99 -
· small with units 441,575 435,636 0.99 -
· small with variables 664,250 678,418 1.02 +
· several small 323,581 318,999 0.99 -
· large 212,081 205,757 0.97 -
· large with polyfills 147,830 144,497 0.98 -
· complex 98,491 98,950 1.00 +
· unsupported 220,986 215,936 0.98 -
css.createTheme
· simple theme 237,711 235,012 0.99 -
· polyfill theme 223,935 221,918 0.99 -
css.props
· small 239,361 237,326 0.99 -
· small with units 188,405 187,613 1.00 -
· small with variables 104,429 104,409 1.00 -
· small with variables of units 74,610 74,168 0.99 -
· large 101,869 101,094 0.99 -
· large with polyfills 36,975 36,441 0.99 -
· complex 23,570 23,236 0.99 -
· unsupported 148,098 147,498 1.00 -
· simple merge 161,508 160,527 0.99 -
· wide merge 17,949 17,616 0.98 -
· deep merge 17,581 17,240 0.98 -
· themed merge 31,805 31,738 1.00 -

@necolas
Copy link
Contributor Author

necolas commented May 21, 2025

Needs a few more types exported from StyleX, or the old lib types export to be put back

@necolas necolas merged commit bf719b4 into main May 28, 2025
7 checks passed
@necolas necolas deleted the update/stylex branch May 28, 2025 22:32
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.

3 participants