facebook / react-strict-dom

React Strict DOM (RSD) standardizes the development of styled React components for web and native.
https://facebook.github.io/react-strict-dom
MIT License
3.2k stars 161 forks source link

Allow native to use CSS 'isolation' #184

Closed necolas closed 3 months ago

necolas commented 3 months ago

https://github.com/facebook/react-native/pull/45883

github-actions[bot] commented 3 months ago

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,573 2,573 1.00
· minified 8,823 8,823 1.00
react-strict-dom/dist/dom/runtime.js
· compressed 836 836 1.00
· minified 2,365 2,365 1.00
react-strict-dom/dist/native/index.js
· compressed 15,056 15,088 1.00 +
· minified 54,902 54,914 1.00 +
github-actions[bot] commented 3 months ago

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,141,851 1,146,494 1.00 +
· small with units 435,387 454,742 1.04 +
· small with variables 681,802 678,980 1.00 -
· several small 335,157 329,925 0.98 -
· large 219,164 216,692 0.99 -
· large with polyfills 153,055 151,903 0.99 -
· complex 104,579 103,732 0.99 -
· unsupported 227,356 229,492 1.01 +
css.createTheme
· simple theme 223,594 221,460 0.99 -
· polyfill theme 209,750 210,458 1.00 +
css.props
· small 241,296 242,370 1.00 +
· small with units 190,119 189,039 0.99 -
· small with variables 104,773 105,340 1.01 +
· small with variables of units 73,970 74,097 1.00 +
· large 103,666 104,272 1.01 +
· large with polyfills 25,586 25,825 1.01 +
· complex 17,670 17,827 1.01 +
· unsupported 75,620 75,433 1.00 -
· simple merge 161,157 161,415 1.00 +
· wide merge 13,574 13,683 1.01 +
· deep merge 13,413 13,506 1.01 +
· themed merge 32,300 32,102 0.99 -