-
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
chore: move slots back to TreeItem and creates slot context #28492
chore: move slots back to TreeItem and creates slot context #28492
Conversation
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
InfoButton | mount | 12 | 13 | 5000 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 610 | 590 | 5000 | |
Button | mount | 297 | 307 | 5000 | |
Field | mount | 1073 | 1045 | 5000 | |
FluentProvider | mount | 652 | 676 | 5000 | |
FluentProviderWithTheme | mount | 76 | 90 | 10 | |
FluentProviderWithTheme | virtual-rerender | 67 | 61 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 73 | 81 | 10 | |
InfoButton | mount | 12 | 13 | 5000 | Possible regression |
MakeStyles | mount | 844 | 851 | 50000 | |
Persona | mount | 1612 | 1607 | 5000 | |
SpinButton | mount | 1260 | 1308 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
Asset size changes
Baseline commit: d5ae9e20a3fb7054fcdbdb233bea091129093c41 (build) |
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 7d0713f:
|
packages/react-components/react-tree/src/components/TreeItem/useTreeItemContextValues.ts
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemLayout/useTreeItemLayout.ts
Show resolved
Hide resolved
664dcec
to
fa94ceb
Compare
fa94ceb
to
7d0713f
Compare
🎉 Handy links: |
🎉 Handy links: |
* master: (105 commits) fix(react-card): use resolved slot instead of raw prop object (microsoft#28517) applying package updates Expose virtualize index/length for casual use (microsoft#28450) applying package updates chore: update projects to use `*` for inner workspace dependencies (microsoft#28426) Update react-components/react-portal README.md (microsoft#28520) [2 of N] Changes for Making first render cycle faster and fixing test cases (microsoft#27721) applying package updates docs(react-search): Add README, description, best practices (microsoft#28507) Fix contrast issues in V8 Fluent2 Dark Theme (microsoft#28486) [VR-Approval-Cli] Fixed the Bug & Added the pipelineID (microsoft#28506) [Onboarding] Generalized VR-Approval-Cli (microsoft#28255) Onboarding [VR-Approval-CLI] To upload baseline screenshots (microsoft#28294) feat: migrate private v9 react packages to new preview versioning scheme (microsoft#28474) applying package updates applying package updates chore: openItems property added to TreeOpenChangeData + minor internal improvements (microsoft#28491) Fix Virtualizers 'start buffer' overflow (microsoft#28437) docs(v0 migration): add note about nested popups (microsoft#28480) chore: move slots back to TreeItem and creates slot context (microsoft#28492) ...
Previous Behavior
New Behavior
expandIcon
,actions
andaside
) fromTreeItemLayout
toTreeItem
TreeItem
andTreeItemLayout
, as although those slots logically belong toTreeItem
rendering wise it should be render inside ofTreeItemLayout
Related Issue(s)