-
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(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch #31580
chore(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch #31580
Conversation
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. |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
FluentProviderWithTheme | virtual-rerender | 36 | 35 | 10 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 631 | 662 | 5000 | |
Button | mount | 296 | 312 | 5000 | |
Field | mount | 1107 | 1130 | 5000 | |
FluentProvider | mount | 705 | 737 | 5000 | |
FluentProviderWithTheme | mount | 82 | 79 | 10 | |
FluentProviderWithTheme | virtual-rerender | 36 | 35 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 73 | 73 | 10 | |
MakeStyles | mount | 873 | 887 | 50000 | |
Persona | mount | 1776 | 1735 | 5000 | |
SpinButton | mount | 1378 | 1393 | 5000 | |
SwatchPicker | mount | 1555 | 1554 | 5000 |
Perf Analysis (
|
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
AttachmentMinimalPerf.default | 93 | 79 | 1.18:1 |
TreeWith60ListItems.default | 94 | 82 | 1.15:1 |
FlexMinimalPerf.default | 164 | 144 | 1.14:1 |
PortalMinimalPerf.default | 88 | 78 | 1.13:1 |
DividerMinimalPerf.default | 215 | 193 | 1.11:1 |
ButtonSlotsPerf.default | 324 | 295 | 1.1:1 |
LabelMinimalPerf.default | 231 | 212 | 1.09:1 |
IconMinimalPerf.default | 401 | 370 | 1.08:1 |
CarouselMinimalPerf.default | 273 | 256 | 1.07:1 |
GridMinimalPerf.default | 189 | 176 | 1.07:1 |
StatusMinimalPerf.default | 405 | 379 | 1.07:1 |
AlertMinimalPerf.default | 160 | 151 | 1.06:1 |
AttachmentSlotsPerf.default | 673 | 635 | 1.06:1 |
BoxMinimalPerf.default | 202 | 191 | 1.06:1 |
DropdownManyItemsPerf.default | 402 | 380 | 1.06:1 |
TextAreaMinimalPerf.default | 289 | 273 | 1.06:1 |
SegmentMinimalPerf.default | 199 | 189 | 1.05:1 |
AnimationMinimalPerf.default | 294 | 283 | 1.04:1 |
ChatMinimalPerf.default | 443 | 428 | 1.04:1 |
ChatWithPopoverPerf.default | 202 | 194 | 1.04:1 |
TextMinimalPerf.default | 195 | 187 | 1.04:1 |
DialogMinimalPerf.default | 443 | 430 | 1.03:1 |
EmbedMinimalPerf.default | 1887 | 1829 | 1.03:1 |
ListMinimalPerf.default | 309 | 301 | 1.03:1 |
ProviderMinimalPerf.default | 207 | 201 | 1.03:1 |
ReactionMinimalPerf.default | 220 | 213 | 1.03:1 |
CardMinimalPerf.default | 314 | 307 | 1.02:1 |
DatepickerMinimalPerf.default | 3522 | 3444 | 1.02:1 |
SkeletonMinimalPerf.default | 198 | 195 | 1.02:1 |
SplitButtonMinimalPerf.default | 2230 | 2196 | 1.02:1 |
TableManyItemsPerf.default | 1118 | 1100 | 1.02:1 |
VideoMinimalPerf.default | 440 | 430 | 1.02:1 |
ButtonMinimalPerf.default | 84 | 83 | 1.01:1 |
ChatDuplicateMessagesPerf.default | 153 | 151 | 1.01:1 |
HeaderMinimalPerf.default | 208 | 206 | 1.01:1 |
HeaderSlotsPerf.default | 466 | 461 | 1.01:1 |
ListNestedPerf.default | 316 | 314 | 1.01:1 |
LoaderMinimalPerf.default | 183 | 181 | 1.01:1 |
TableMinimalPerf.default | 234 | 232 | 1.01:1 |
AvatarMinimalPerf.default | 103 | 103 | 1:1 |
ButtonOverridesMissPerf.default | 649 | 647 | 1:1 |
FormMinimalPerf.default | 211 | 210 | 1:1 |
MenuMinimalPerf.default | 507 | 505 | 1:1 |
MenuButtonMinimalPerf.default | 932 | 931 | 1:1 |
CustomToolbarPrototype.default | 1483 | 1478 | 1:1 |
CheckboxMinimalPerf.default | 1119 | 1129 | 0.99:1 |
DropdownMinimalPerf.default | 1422 | 1436 | 0.99:1 |
InputMinimalPerf.default | 536 | 540 | 0.99:1 |
ItemLayoutMinimalPerf.default | 697 | 706 | 0.99:1 |
RosterPerf.default | 1592 | 1605 | 0.99:1 |
ProviderMergeThemesPerf.default | 642 | 649 | 0.99:1 |
RadioGroupMinimalPerf.default | 262 | 265 | 0.99:1 |
SliderMinimalPerf.default | 744 | 753 | 0.99:1 |
AccordionMinimalPerf.default | 79 | 81 | 0.98:1 |
PopupMinimalPerf.default | 350 | 356 | 0.98:1 |
TooltipMinimalPerf.default | 1243 | 1272 | 0.98:1 |
LayoutMinimalPerf.default | 191 | 196 | 0.97:1 |
TreeMinimalPerf.default | 464 | 479 | 0.97:1 |
ListWith60ListItems.default | 351 | 366 | 0.96:1 |
ToolbarMinimalPerf.default | 521 | 544 | 0.96:1 |
ImageMinimalPerf.default | 221 | 235 | 0.94:1 |
ListCommonPerf.default | 366 | 388 | 0.94:1 |
RefMinimalPerf.default | 101 | 108 | 0.94:1 |
🕵 FluentUIV0 No visual regressions between this PR and main |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 623 | 619 | 5000 | |
Breadcrumb | mount | 1693 | 1671 | 1000 | |
Checkbox | mount | 1708 | 1712 | 5000 | |
CheckboxBase | mount | 1464 | 1479 | 5000 | |
ChoiceGroup | mount | 3028 | 3015 | 5000 | |
ComboBox | mount | 674 | 688 | 1000 | |
CommandBar | mount | 6550 | 6497 | 1000 | |
ContextualMenu | mount | 12355 | 12737 | 1000 | |
DefaultButton | mount | 807 | 796 | 5000 | |
DetailsRow | mount | 2237 | 2233 | 5000 | |
DetailsRowFast | mount | 2264 | 2253 | 5000 | |
DetailsRowNoStyles | mount | 2032 | 2070 | 5000 | |
Dialog | mount | 2817 | 2782 | 1000 | |
DocumentCardTitle | mount | 227 | 229 | 1000 | |
Dropdown | mount | 2030 | 2012 | 5000 | |
FocusTrapZone | mount | 1178 | 1151 | 5000 | |
FocusZone | mount | 1086 | 1072 | 5000 | |
GroupedList | mount | 37885 | 42147 | 2 | |
GroupedList | virtual-rerender | 20192 | 20152 | 2 | |
GroupedList | virtual-rerender-with-unmount | 50970 | 51091 | 2 | |
GroupedListV2 | mount | 225 | 231 | 2 | |
GroupedListV2 | virtual-rerender | 208 | 215 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 221 | 228 | 2 | |
IconButton | mount | 1139 | 1132 | 5000 | |
Label | mount | 349 | 342 | 5000 | |
Layer | mount | 2747 | 2798 | 5000 | |
Link | mount | 395 | 406 | 5000 | |
MenuButton | mount | 973 | 974 | 5000 | |
MessageBar | mount | 21402 | 21349 | 5000 | |
Nav | mount | 2012 | 2048 | 1000 | |
OverflowSet | mount | 809 | 816 | 5000 | |
Panel | mount | 1828 | 1811 | 1000 | |
Persona | mount | 739 | 751 | 1000 | |
Pivot | mount | 887 | 899 | 1000 | |
PrimaryButton | mount | 935 | 916 | 5000 | |
Rating | mount | 4744 | 4764 | 5000 | |
SearchBox | mount | 919 | 929 | 5000 | |
Shimmer | mount | 1876 | 1893 | 5000 | |
Slider | mount | 1329 | 1344 | 5000 | |
SpinButton | mount | 2985 | 3096 | 5000 | |
Spinner | mount | 400 | 392 | 5000 | |
SplitButton | mount | 1877 | 1888 | 5000 | |
Stack | mount | 409 | 417 | 5000 | |
StackWithIntrinsicChildren | mount | 857 | 851 | 5000 | |
StackWithTextChildren | mount | 2664 | 2683 | 5000 | |
SwatchColorPicker | mount | 6402 | 6459 | 5000 | |
TagPicker | mount | 1446 | 1478 | 5000 | |
Text | mount | 382 | 380 | 5000 | |
TextField | mount | 957 | 950 | 5000 | |
ThemeProvider | mount | 848 | 861 | 5000 | |
ThemeProvider | virtual-rerender | 595 | 594 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 1299 | 1298 | 5000 | |
Toggle | mount | 632 | 596 | 5000 | |
buttonNative | mount | 190 | 197 | 5000 |
0835bb6
to
ad6d1b7
Compare
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. |
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. |
…stories) - cxe-red /2nd batch
d535d91
to
d077e1a
Compare
…escription * master: chore(react-list-preview): Add bundle size tests (microsoft#31658) applying package updates feat:react-nav-preview Add a handful of accessibility features for Nav (microsoft#31649) feat: refactor anchor-button to use element internals and anchor proxy element (microsoft#31653) chore:(docs) New Component doc (microsoft#31611) style(react-nav-preview): fix formatting in barel file (microsoft#31671) feat(web-components): refactor progress bar to use ElementInternals (microsoft#31652) chore(react-components): split react libraries in two (/library and /stories) - last batch (microsoft#31581) fix(scripts-beachball): ignore web-components packages from v8 release scope (microsoft#31667) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch (microsoft#31580) chore: Remove recipes-react-components in favor of recipes package (microsoft#31647) feat: Add consistent start and finish lifecycle callbacks (microsoft#31644) chore(docs): Remove requirement of performance tests from epic template (microsoft#31662) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /1st batch (microsoft#31579) docs(react-swatch-picker): added SwatchPicker page to Component Mapping (microsoft#31637) docs(dev-env): update minimal node version (microsoft#31638)
* master: chore(react-list-preview): Add bundle size tests (microsoft#31658) applying package updates feat:react-nav-preview Add a handful of accessibility features for Nav (microsoft#31649) feat: refactor anchor-button to use element internals and anchor proxy element (microsoft#31653) chore:(docs) New Component doc (microsoft#31611) style(react-nav-preview): fix formatting in barel file (microsoft#31671) feat(web-components): refactor progress bar to use ElementInternals (microsoft#31652) chore(react-components): split react libraries in two (/library and /stories) - last batch (microsoft#31581) fix(scripts-beachball): ignore web-components packages from v8 release scope (microsoft#31667) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /2nd batch (microsoft#31580) chore: Remove recipes-react-components in favor of recipes package (microsoft#31647) feat: Add consistent start and finish lifecycle callbacks (microsoft#31644) chore(docs): Remove requirement of performance tests from epic template (microsoft#31662) chore(react-components): split react libraries in two (/library and /stories) - cxe-red /1st batch (microsoft#31579) docs(react-swatch-picker): added SwatchPicker page to Component Mapping (microsoft#31637) docs(dev-env): update minimal node version (microsoft#31638)
…stories) - cxe-red /2nd batch (microsoft#31580)
Previous Behavior
New Behavior
Note
Based on RFC v9 react packages are split in two: #30514
Package/Scaffold changes:
![package split changes within react-components. before and after.](https://private-user-images.githubusercontent.com/1223799/336483958-58f52137-a466-4634-80be-976fdd255cf1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTUzMjMsIm5iZiI6MTczOTYxNTAyMywicGF0aCI6Ii8xMjIzNzk5LzMzNjQ4Mzk1OC01OGY1MjEzNy1hNDY2LTQ2MzQtODBiZS05NzZmZGQyNTVjZjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTAyMzQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDU3OWMyMzQ5MjNiYmYyMWNlZTM0YTYxY2I3NjE1MjYzNWUzYTY2Njc5YzI1NGYyMDdiMmUzYTg0OGFhNDFkNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.pQeVuvD1lqFh_l_7QAbP51kz27gXv_LvcP4ULWhj73A)
yarn nx g @fluentui/workspace-plugin:split-library-in-two --project @fluentui/react-<name>
Related Issue(s)