-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
bugfix: converts value to be a string instead of a generic value #28257
bugfix: converts value to be a string instead of a generic value #28257
Conversation
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
FluentProviderWithTheme | virtual-rerender-with-unmount | 69 | 77 | 10 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 598 | 588 | 5000 | |
Button | mount | 296 | 297 | 5000 | |
Field | mount | 1090 | 1117 | 5000 | |
FluentProvider | mount | 664 | 665 | 5000 | |
FluentProviderWithTheme | mount | 77 | 80 | 10 | |
FluentProviderWithTheme | virtual-rerender | 65 | 62 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 69 | 77 | 10 | Possible regression |
InfoButton | mount | 13 | 14 | 5000 | |
MakeStyles | mount | 840 | 843 | 50000 | |
Persona | mount | 1691 | 1588 | 5000 | |
SpinButton | mount | 1321 | 1319 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
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 db3084d:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: df30429eb72b85251e03c5123625820cc8a8b147 (build) |
bcd206c
to
a8bf1df
Compare
a8bf1df
to
b06d661
Compare
850b419
to
b0037f3
Compare
b0037f3
to
5c206f2
Compare
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.ts
Show resolved
Hide resolved
🎉 Handy links: |
🎉 Handy links: |
Previous Behavior
createFlatTreeItems
would return a non shallow equivalent value due to the presence of a reference objectcreateFlatTreeItems
New Behavior
value: string | number
to simplify internals mechanisms, ensuring same accessibility behaviours with a less convoluted code base.createFlatTreeItems
Related Issue(s)
Fixes issues introduced by #27642, where a reference for each parent tree item was kept.