-
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-shared-contexts): migrate to new DX #18998
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. Latest deployment of this branch, based on commit ce210b6:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 728c68901b887fa908e2f611c20fc1c9f1b90699 (build) |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 790 | 799 | 5000 | |
BaseButton | mount | 853 | 886 | 5000 | |
Breadcrumb | mount | 2571 | 2559 | 1000 | |
ButtonNext | mount | 512 | 500 | 5000 | |
Checkbox | mount | 1460 | 1466 | 5000 | |
CheckboxBase | mount | 1226 | 1224 | 5000 | |
ChoiceGroup | mount | 4503 | 4565 | 5000 | |
ComboBox | mount | 940 | 972 | 1000 | |
CommandBar | mount | 9846 | 9842 | 1000 | |
ContextualMenu | mount | 6200 | 6043 | 1000 | |
DefaultButton | mount | 1085 | 1087 | 5000 | |
DetailsRow | mount | 3657 | 3626 | 5000 | |
DetailsRowFast | mount | 3598 | 3644 | 5000 | |
DetailsRowNoStyles | mount | 3364 | 3567 | 5000 | |
Dialog | mount | 2059 | 2064 | 1000 | |
DocumentCardTitle | mount | 134 | 141 | 1000 | |
Dropdown | mount | 3078 | 3090 | 5000 | |
FluentProviderNext | mount | 7046 | 7023 | 5000 | |
FocusTrapZone | mount | 1761 | 1726 | 5000 | |
FocusZone | mount | 1720 | 1760 | 5000 | |
IconButton | mount | 1657 | 1685 | 5000 | |
Label | mount | 319 | 323 | 5000 | |
Layer | mount | 1703 | 1712 | 5000 | |
Link | mount | 441 | 444 | 5000 | |
MakeStyles | mount | 1774 | 1791 | 50000 | |
MenuButton | mount | 1430 | 1403 | 5000 | |
MessageBar | mount | 1935 | 2011 | 5000 | |
Nav | mount | 3149 | 3148 | 1000 | |
OverflowSet | mount | 993 | 998 | 5000 | |
Panel | mount | 2024 | 2027 | 1000 | |
Persona | mount | 828 | 785 | 1000 | |
Pivot | mount | 1400 | 1372 | 1000 | |
PrimaryButton | mount | 1259 | 1270 | 5000 | |
Rating | mount | 7389 | 7461 | 5000 | |
SearchBox | mount | 1252 | 1286 | 5000 | |
Shimmer | mount | 2463 | 2455 | 5000 | |
Slider | mount | 1878 | 1893 | 5000 | |
SpinButton | mount | 4965 | 5058 | 5000 | |
Spinner | mount | 400 | 398 | 5000 | |
SplitButton | mount | 3042 | 3039 | 5000 | |
Stack | mount | 478 | 487 | 5000 | |
StackWithIntrinsicChildren | mount | 1524 | 1490 | 5000 | |
StackWithTextChildren | mount | 4386 | 4318 | 5000 | |
SwatchColorPicker | mount | 9960 | 9877 | 5000 | |
Tabs | mount | 1341 | 1330 | 1000 | |
TagPicker | mount | 2345 | 2335 | 5000 | |
TeachingBubble | mount | 11689 | 11477 | 5000 | |
Text | mount | 406 | 397 | 5000 | |
TextField | mount | 1350 | 1316 | 5000 | |
ThemeProvider | mount | 1139 | 1172 | 5000 | |
ThemeProvider | virtual-rerender | 584 | 584 | 5000 | |
Toggle | mount | 780 | 784 | 5000 | |
buttonNative | mount | 116 | 103 | 5000 |
Perf Analysis (@fluentui/react-northstar
)
Perf tests with no regressions
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
AttachmentMinimalPerf.default | 151 | 141 | 1.07:1 |
LabelMinimalPerf.default | 386 | 362 | 1.07:1 |
ListWith60ListItems.default | 637 | 597 | 1.07:1 |
ChatWithPopoverPerf.default | 370 | 351 | 1.05:1 |
GridMinimalPerf.default | 326 | 311 | 1.05:1 |
AvatarMinimalPerf.default | 190 | 183 | 1.04:1 |
ChatDuplicateMessagesPerf.default | 290 | 280 | 1.04:1 |
LoaderMinimalPerf.default | 684 | 660 | 1.04:1 |
PopupMinimalPerf.default | 576 | 556 | 1.04:1 |
SliderMinimalPerf.default | 1623 | 1560 | 1.04:1 |
AnimationMinimalPerf.default | 400 | 388 | 1.03:1 |
InputMinimalPerf.default | 1254 | 1214 | 1.03:1 |
MenuMinimalPerf.default | 829 | 807 | 1.03:1 |
AttachmentSlotsPerf.default | 1029 | 1004 | 1.02:1 |
CheckboxMinimalPerf.default | 2706 | 2645 | 1.02:1 |
ListCommonPerf.default | 612 | 600 | 1.02:1 |
ProviderMinimalPerf.default | 971 | 955 | 1.02:1 |
ReactionMinimalPerf.default | 365 | 358 | 1.02:1 |
SegmentMinimalPerf.default | 338 | 332 | 1.02:1 |
IconMinimalPerf.default | 597 | 586 | 1.02:1 |
ToolbarMinimalPerf.default | 908 | 893 | 1.02:1 |
TooltipMinimalPerf.default | 983 | 961 | 1.02:1 |
ButtonOverridesMissPerf.default | 1692 | 1678 | 1.01:1 |
ChatMinimalPerf.default | 634 | 626 | 1.01:1 |
ImageMinimalPerf.default | 345 | 340 | 1.01:1 |
ItemLayoutMinimalPerf.default | 1185 | 1173 | 1.01:1 |
ListNestedPerf.default | 535 | 528 | 1.01:1 |
MenuButtonMinimalPerf.default | 1587 | 1564 | 1.01:1 |
ProviderMergeThemesPerf.default | 1660 | 1644 | 1.01:1 |
RadioGroupMinimalPerf.default | 433 | 429 | 1.01:1 |
SkeletonMinimalPerf.default | 347 | 345 | 1.01:1 |
TreeMinimalPerf.default | 758 | 749 | 1.01:1 |
CardMinimalPerf.default | 534 | 534 | 1:1 |
DividerMinimalPerf.default | 344 | 343 | 1:1 |
HeaderMinimalPerf.default | 348 | 348 | 1:1 |
ListMinimalPerf.default | 495 | 495 | 1:1 |
TextMinimalPerf.default | 332 | 332 | 1:1 |
TextAreaMinimalPerf.default | 473 | 473 | 1:1 |
CustomToolbarPrototype.default | 3744 | 3733 | 1:1 |
DatepickerMinimalPerf.default | 5204 | 5260 | 0.99:1 |
DropdownManyItemsPerf.default | 637 | 644 | 0.99:1 |
DropdownMinimalPerf.default | 2998 | 3023 | 0.99:1 |
FormMinimalPerf.default | 386 | 389 | 0.99:1 |
HeaderSlotsPerf.default | 746 | 752 | 0.99:1 |
LayoutMinimalPerf.default | 357 | 361 | 0.99:1 |
SplitButtonMinimalPerf.default | 3675 | 3711 | 0.99:1 |
TableManyItemsPerf.default | 1805 | 1817 | 0.99:1 |
BoxMinimalPerf.default | 326 | 333 | 0.98:1 |
ButtonMinimalPerf.default | 156 | 160 | 0.98:1 |
DialogMinimalPerf.default | 725 | 737 | 0.98:1 |
FlexMinimalPerf.default | 280 | 285 | 0.98:1 |
RefMinimalPerf.default | 227 | 232 | 0.98:1 |
TableMinimalPerf.default | 378 | 386 | 0.98:1 |
AccordionMinimalPerf.default | 146 | 150 | 0.97:1 |
StatusMinimalPerf.default | 638 | 656 | 0.97:1 |
ButtonSlotsPerf.default | 529 | 549 | 0.96:1 |
CarouselMinimalPerf.default | 439 | 459 | 0.96:1 |
EmbedMinimalPerf.default | 3977 | 4125 | 0.96:1 |
VideoMinimalPerf.default | 578 | 603 | 0.96:1 |
PortalMinimalPerf.default | 165 | 173 | 0.95:1 |
AlertMinimalPerf.default | 246 | 264 | 0.93:1 |
RosterPerf.default | 1082 | 1162 | 0.93:1 |
TreeWith60ListItems.default | 147 | 170 | 0.86:1 |
…hore/rsc-new-dx
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.
🙌
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
* chore(react-shared-contexts): migrate to new DX * Change files
Pull request checklist
$ yarn change
Description of changes
This PR migrates
@fluentui/react-shared-contexts
to new DX.Applied changes:
./jest.config.js
removesnapshotSerializers
(this package doesn't use makeStyles)./.storybook
and scripts from./package.json
(there are no stories for this package and should not be)./tsconfig.json#compilerOptions.types
(removeinline-style-expand
&storybook-addons
)