8000 Improve importSources docs by necolas · Pull Request #1109 · facebook/stylex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve importSources docs #1109

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Improve importSources docs #1109

wants to merge 1 commit into from

Conversation

necolas
Copy link
Contributor
@necolas necolas commented Jun 26, 2025

Add the missing object syntax.

See discussion #1106

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 26, 2025
@necolas necolas force-pushed the docs/importSources branch from 39bfa53 to cd55564 Compare June 26, 2025 21:16
Copy link
github-actions bot commented Jun 26, 2025

workflow: benchmarks/perf

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

benchmarks@0.13.1 compare
node ./compare.js /tmp/tmp.BMJjfFb9LX /tmp/tmp.EDyUCcRVBC

Results Base Patch Ratio
babel-plugin: stylex.create
· basic create 625 613 0.98 -
· complex create 206 206 1.00
babel-plugin: stylex.createTheme
· basic themes 448 447 1.00 -
· complex themes 42 41 0.98 -

Copy link
github-actions bot commented Jun 26, 2025

workflow: benchmarks/size

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

benchmarks@0.13.1 compare
node ./compare.js /tmp/tmp.jO8WNsT3qJ /tmp/tmp.jUJlGUFJsy

Results Base Patch Ratio
@stylexjs/stylex/lib/cjs/stylex.js
· compressed 1,222 1,222 1.00
· minified 3,679 3,679 1.00
@stylexjs/stylex/lib/cjs/inject.js
· compressed 1,227 1,227 1.00
· minified 3,224 3,224 1.00
benchmarks/size/.build/bundle.js
· compressed 495,990 495,990 1.00
· minified 4,843,460 4,843,460 1.00
benchmarks/size/.build/stylex.css
· compressed 100,374 100,374 1.00
· minified 754,717 754,717 1.00

Add the missing object syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0