Skip to content
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

refactor: leverage ES14 Array.prototype.toSorted method #27932

Closed
wants to merge 3 commits into from

Conversation

RohitShedage
Copy link

Summary

Leverage ES14 feature - Array.prototype.toSorted

How did you test this change?

Since this PR is refactor of the existing code, no new tests are introduced. I have made sure that all existing test passes, by running yarn test

@react-sizebot
Copy link

react-sizebot commented Jan 12, 2024

Comparing: 0ac3ea4...9b3100a

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 176.17 kB 176.17 kB = 54.88 kB 54.88 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 178.27 kB 178.27 kB = 55.52 kB 55.52 kB
facebook-www/ReactDOM-prod.classic.js = 571.85 kB 571.85 kB = 100.55 kB 100.55 kB
facebook-www/ReactDOM-prod.modern.js = 555.61 kB 555.61 kB = 97.62 kB 97.62 kB
test_utils/ReactAllWarnings.js Deleted 67.55 kB 0.00 kB Deleted 16.54 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
test_utils/ReactAllWarnings.js Deleted 67.55 kB 0.00 kB Deleted 16.54 kB 0.00 kB

Generated by 🚫 dangerJS against 9b3100a

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.

None yet

3 participants