Skip to content

Ignore rejections from AccessibilityInfo.isReduceMotionEnabled#437

Merged
necolas merged 1 commit into
mainfrom
native/fix-accessibilityinfo-rejection
Dec 12, 2025
Merged

Ignore rejections from AccessibilityInfo.isReduceMotionEnabled#437
necolas merged 1 commit into
mainfrom
native/fix-accessibilityinfo-rejection

Conversation

@necolas

@necolas necolas commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

The promise is rejected with an error when running on platforms without the native module. Better to just ignore it

@meta-cla meta-cla Bot added the cla signed label Dec 10, 2025
@necolas necolas force-pushed the native/fix-accessibilityinfo-rejection branch from cf6b7c0 to 9b91212 Compare December 10, 2025 20:28
@github-actions

github-actions Bot commented Dec 10, 2025

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,528 16,556 1.00 +
· minified 64,084 63,999 1.00 -

@github-actions

github-actions Bot commented Dec 10, 2025

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,135,751 1,130,989 1.00 -
· small with units 496,605 493,146 0.99 -
· small with variables 675,492 673,042 1.00 -
· several small 353,122 349,101 0.99 -
· large 198,612 200,669 1.01 +
· large with polyfills 148,228 149,664 1.01 +
· complex 102,805 103,849 1.01 +
· unsupported 208,355 210,331 1.01 +
css.createTheme
· simple theme 229,607 230,554 1.00 +
· polyfill theme 214,084 215,352 1.01 +

@necolas necolas merged commit e929e9f into main Dec 12, 2025
7 checks passed
@necolas necolas deleted the native/fix-accessibilityinfo-rejection branch December 17, 2025 22:43
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