-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix: potential memory leaks when using nullish coalescing #29195
fix: potential memory leaks when using nullish coalescing #29195
Conversation
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 634 | 609 | 5000 | |
Button | mount | 321 | 316 | 5000 | |
Field | mount | 1117 | 1093 | 5000 | |
FluentProvider | mount | 687 | 685 | 5000 | |
FluentProviderWithTheme | mount | 76 | 82 | 10 | |
FluentProviderWithTheme | virtual-rerender | 65 | 57 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 79 | 78 | 10 | |
InfoButton | mount | 12 | 11 | 5000 | |
MakeStyles | mount | 854 | 856 | 50000 | |
Persona | mount | 1755 | 1723 | 5000 | |
SpinButton | mount | 1392 | 1348 | 5000 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit fa5e3a9:
|
📊 Bundle size reportUnchanged fixtures
|
Asset size changesUnable to find bundle size details for Baseline commit: c60d4e7 Possible causes
Recommendations
|
🕵 fluentuiv9 No visual regressions between this PR and main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we later on create an Issue to have an ESLint rule to enforce this?! I'm not sure how easy would it be to solve this on SWC side....
swc already merged a fix, waiting for new release. if you follow internal teams chanel you can get answers to your questions as well |
Closed as this issue was covered by SWC library |
For more context:
This applies the same fixes introduced by #29193 to other parts of our code.