chore(react-dialog): adopt custom JSX pragma#27475
Merged
bsunderhus merged 1 commit intoApr 15, 2023
Merged
Conversation
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 735 | 715 | 5000 | |
| Button | mount | 410 | 397 | 5000 | |
| Field | mount | 1250 | 1236 | 5000 | |
| FluentProvider | mount | 767 | 786 | 5000 | |
| FluentProviderWithTheme | mount | 106 | 106 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 90 | 88 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 96 | 101 | 10 | |
| InfoButton | mount | 25 | 24 | 5000 | |
| MakeStyles | mount | 1204 | 1219 | 50000 | |
| Persona | mount | 1961 | 1902 | 5000 | |
| SpinButton | mount | 1465 | 1525 | 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 6ea65ff:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: bb758eb9091e5c53f8d1d58baf50505aa2aa34cc (build) |
Collaborator
🕵 fluentuiv8 No visual regressions between this PR and main |
Collaborator
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| ChatWithPopoverPerf.default | 260 | 234 | 1.11:1 |
| ChatDuplicateMessagesPerf.default | 198 | 183 | 1.08:1 |
| ButtonMinimalPerf.default | 109 | 103 | 1.06:1 |
| FlexMinimalPerf.default | 206 | 196 | 1.05:1 |
| IconMinimalPerf.default | 478 | 454 | 1.05:1 |
| AvatarMinimalPerf.default | 132 | 127 | 1.04:1 |
| CarouselMinimalPerf.default | 345 | 331 | 1.04:1 |
| TableMinimalPerf.default | 304 | 291 | 1.04:1 |
| VideoMinimalPerf.default | 536 | 513 | 1.04:1 |
| BoxMinimalPerf.default | 251 | 243 | 1.03:1 |
| DividerMinimalPerf.default | 258 | 251 | 1.03:1 |
| PortalMinimalPerf.default | 121 | 117 | 1.03:1 |
| ButtonSlotsPerf.default | 407 | 400 | 1.02:1 |
| CardMinimalPerf.default | 377 | 368 | 1.02:1 |
| DialogMinimalPerf.default | 584 | 574 | 1.02:1 |
| FormMinimalPerf.default | 278 | 273 | 1.02:1 |
| GridMinimalPerf.default | 246 | 241 | 1.02:1 |
| ImageMinimalPerf.default | 287 | 281 | 1.02:1 |
| ListMinimalPerf.default | 383 | 376 | 1.02:1 |
| PopupMinimalPerf.default | 460 | 453 | 1.02:1 |
| RadioGroupMinimalPerf.default | 343 | 336 | 1.02:1 |
| StatusMinimalPerf.default | 505 | 494 | 1.02:1 |
| TooltipMinimalPerf.default | 1606 | 1580 | 1.02:1 |
| TreeMinimalPerf.default | 604 | 595 | 1.02:1 |
| CheckboxMinimalPerf.default | 1571 | 1562 | 1.01:1 |
| DatepickerMinimalPerf.default | 4556 | 4496 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 909 | 904 | 1.01:1 |
| LabelMinimalPerf.default | 284 | 281 | 1.01:1 |
| ListCommonPerf.default | 497 | 490 | 1.01:1 |
| ListNestedPerf.default | 413 | 410 | 1.01:1 |
| RosterPerf.default | 1798 | 1788 | 1.01:1 |
| SliderMinimalPerf.default | 918 | 908 | 1.01:1 |
| TextAreaMinimalPerf.default | 354 | 351 | 1.01:1 |
| AttachmentMinimalPerf.default | 101 | 101 | 1:1 |
| ButtonOverridesMissPerf.default | 827 | 825 | 1:1 |
| ChatMinimalPerf.default | 531 | 530 | 1:1 |
| DropdownMinimalPerf.default | 1813 | 1819 | 1:1 |
| InputMinimalPerf.default | 726 | 729 | 1:1 |
| ListWith60ListItems.default | 473 | 474 | 1:1 |
| SplitButtonMinimalPerf.default | 3024 | 3018 | 1:1 |
| TableManyItemsPerf.default | 1431 | 1436 | 1:1 |
| AccordionMinimalPerf.default | 104 | 105 | 0.99:1 |
| AlertMinimalPerf.default | 196 | 198 | 0.99:1 |
| AnimationMinimalPerf.default | 366 | 368 | 0.99:1 |
| DropdownManyItemsPerf.default | 490 | 493 | 0.99:1 |
| EmbedMinimalPerf.default | 2391 | 2417 | 0.99:1 |
| LayoutMinimalPerf.default | 264 | 268 | 0.99:1 |
| MenuMinimalPerf.default | 617 | 624 | 0.99:1 |
| MenuButtonMinimalPerf.default | 1249 | 1261 | 0.99:1 |
| ProviderMinimalPerf.default | 270 | 274 | 0.99:1 |
| RefMinimalPerf.default | 140 | 141 | 0.99:1 |
| SegmentMinimalPerf.default | 252 | 255 | 0.99:1 |
| SkeletonMinimalPerf.default | 255 | 257 | 0.99:1 |
| TextMinimalPerf.default | 247 | 249 | 0.99:1 |
| CustomToolbarPrototype.default | 1916 | 1927 | 0.99:1 |
| ToolbarMinimalPerf.default | 662 | 666 | 0.99:1 |
| AttachmentSlotsPerf.default | 826 | 841 | 0.98:1 |
| HeaderMinimalPerf.default | 258 | 262 | 0.98:1 |
| HeaderSlotsPerf.default | 575 | 588 | 0.98:1 |
| LoaderMinimalPerf.default | 238 | 243 | 0.98:1 |
| ProviderMergeThemesPerf.default | 968 | 983 | 0.98:1 |
| TreeWith60ListItems.default | 106 | 112 | 0.95:1 |
| ReactionMinimalPerf.default | 264 | 280 | 0.94:1 |
Collaborator
📊 Bundle size report
Unchanged fixtures
|
Collaborator
🕵 FluentUI-v0 No visual regressions between this PR and main |
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 814 | 813 | 5000 | |
| Breadcrumb | mount | 2180 | 2170 | 1000 | |
| Checkbox | mount | 2132 | 2140 | 5000 | |
| CheckboxBase | mount | 1866 | 1880 | 5000 | |
| ChoiceGroup | mount | 3684 | 3699 | 5000 | |
| ComboBox | mount | 869 | 885 | 1000 | |
| CommandBar | mount | 7952 | 8022 | 1000 | |
| ContextualMenu | mount | 15795 | 16116 | 1000 | |
| DefaultButton | mount | 975 | 996 | 5000 | |
| DetailsRow | mount | 2876 | 2875 | 5000 | |
| DetailsRowFast | mount | 2896 | 2870 | 5000 | |
| DetailsRowNoStyles | mount | 2629 | 2681 | 5000 | |
| Dialog | mount | 3413 | 3452 | 1000 | |
| DocumentCardTitle | mount | 317 | 317 | 1000 | |
| Dropdown | mount | 2554 | 2525 | 5000 | |
| FocusTrapZone | mount | 1503 | 1536 | 5000 | |
| FocusZone | mount | 1474 | 1430 | 5000 | |
| GroupedList | mount | 49367 | 57486 | 2 | |
| GroupedList | virtual-rerender | 24003 | 23996 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 73629 | 73545 | 2 | |
| GroupedListV2 | mount | 309 | 314 | 2 | |
| GroupedListV2 | virtual-rerender | 288 | 292 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 312 | 310 | 2 | |
| IconButton | mount | 1399 | 1427 | 5000 | |
| Label | mount | 463 | 454 | 5000 | |
| Layer | mount | 3548 | 3590 | 5000 | |
| Link | mount | 520 | 519 | 5000 | |
| MenuButton | mount | 1227 | 1234 | 5000 | |
| MessageBar | mount | 27494 | 27611 | 5000 | |
| Nav | mount | 2504 | 2526 | 1000 | |
| OverflowSet | mount | 1019 | 1003 | 5000 | |
| Panel | mount | 2238 | 2234 | 1000 | |
| Persona | mount | 971 | 951 | 1000 | |
| Pivot | mount | 1178 | 1174 | 1000 | |
| PrimaryButton | mount | 1100 | 1103 | 5000 | |
| Rating | mount | 5728 | 5738 | 5000 | |
| SearchBox | mount | 1155 | 1156 | 5000 | |
| Shimmer | mount | 2349 | 2352 | 5000 | |
| Slider | mount | 1710 | 1716 | 5000 | |
| SpinButton | mount | 3689 | 3713 | 5000 | |
| Spinner | mount | 526 | 531 | 5000 | |
| SplitButton | mount | 2394 | 2407 | 5000 | |
| Stack | mount | 516 | 530 | 5000 | |
| StackWithIntrinsicChildren | mount | 1122 | 1131 | 5000 | |
| StackWithTextChildren | mount | 3248 | 3214 | 5000 | |
| SwatchColorPicker | mount | 8074 | 7989 | 5000 | |
| TagPicker | mount | 1929 | 2002 | 5000 | |
| Text | mount | 491 | 492 | 5000 | |
| TextField | mount | 1185 | 1199 | 5000 | |
| ThemeProvider | mount | 1129 | 1111 | 5000 | |
| ThemeProvider | virtual-rerender | 772 | 771 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1730 | 1740 | 5000 | |
| Toggle | mount | 786 | 780 | 5000 | |
| buttonNative | mount | 271 | 284 | 5000 |
bsunderhus
force-pushed
the
react-dialog/feat--adopt-custom-jsx-pragma
branch
4 times, most recently
from
April 12, 2023 16:13
f576cca to
defdfbc
Compare
bsunderhus
force-pushed
the
react-dialog/feat--adopt-custom-jsx-pragma
branch
from
April 12, 2023 16:18
defdfbc to
32495a5
Compare
bsunderhus
marked this pull request as ready for review
April 12, 2023 16:32
behowell
reviewed
Apr 14, 2023
bsunderhus
force-pushed
the
react-dialog/feat--adopt-custom-jsx-pragma
branch
from
April 14, 2023 08:58
32495a5 to
349424d
Compare
layershifter
approved these changes
Apr 14, 2023
Contributor
Author
|
I'll be waiting for #27571 before merging this PR |
bsunderhus
force-pushed
the
react-dialog/feat--adopt-custom-jsx-pragma
branch
from
April 15, 2023 09:09
349424d to
6ea65ff
Compare
bsunderhus
enabled auto-merge (squash)
April 15, 2023 09:11
Hotell
reviewed
Apr 17, 2023
| "dependencies": { | ||
| "@griffel/react": "^1.5.2", | ||
| "@fluentui/react-utilities": "^9.7.4", | ||
| "@fluentui/react-jsx-runtime": "^9.0.0-alpha.0", |
Contributor
There was a problem hiding this comment.
dont use carrets for pre-releases, this will create issue on consumers end when resolving deps. for such a fundamental part as custom JSX pragma it is even more dangerous.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

New Behavior
react-jsx-runtimecustom pragma onreact-dialogresolveShorthandto all slots (somerootslots were missing it)