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

Add missing elements to DOM -> Native mapping #178

Closed necolas closed 4 months ago

necolas commented 4 months ago

Certain elements should be rendering as View but were defaulting to Text.

And on web the list-style reset is applied only to 'ol' and 'ul' elements, to fix an issue where 'li' was no longering inheriting list-style from its ancestor.

github-actions[bot] commented 4 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,563 2,573 1.00 +
· minified 8,788 8,823 1.00 +
react-strict-dom/dist/dom/runtime.js
· compressed 818 836 1.02 +
· minified 2,330 2,365 1.02 +
react-strict-dom/dist/native/index.js
· compressed 14,601 14,653 1.00 +
· minified 52,890 53,100 1.00 +
github-actions[bot] commented 4 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,143,446 1,145,033 1.00 +
· small with units 449,285 449,870 1.00 +
· small with variables 689,287 663,934 0.96 -
· several small 328,128 329,573 1.00 +
· large 217,811 217,520 1.00 -
· large with polyfills 152,493 152,824 1.00 +
· complex 104,855 102,859 0.98 -
· unsupported 232,756 234,291 1.01 +
css.createTheme
· simple theme 229,993 227,986 0.99 -
· polyfill theme 216,954 217,142 1.00 +
css.props
· small 237,758 236,452 0.99 -
· small with units 188,584 187,710 1.00 -
· small with variables 105,220 105,182 1.00 -
· small with variables of units 74,893 74,612 1.00 -
· large 100,505 103,166 1.03 +
· large with polyfills 26,212 25,980 0.99 -
· complex 18,167 18,114 1.00 -
· unsupported 75,163 75,115 1.00 -
· simple merge 161,530 161,477 1.00 -
· wide merge 13,790 13,722 1.00 -
· deep merge 13,607 13,562 1.00 -
· themed merge 31,499 31,365 1.00 -