Bump v8 peer deps to support react 18#24976
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 308fa21:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 0f664f4c653e15908e32731a937bbf62597c2147 (build) |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1184 | 1197 | 5000 | |
| Breadcrumb | mount | 2947 | 2938 | 1000 | |
| Checkbox | mount | 2658 | 2644 | 5000 | |
| CheckboxBase | mount | 2363 | 2348 | 5000 | |
| ChoiceGroup | mount | 4367 | 4383 | 5000 | |
| ComboBox | mount | 1250 | 1250 | 1000 | |
| CommandBar | mount | 9542 | 9545 | 1000 | |
| ContextualMenu | mount | 10890 | 10994 | 1000 | |
| DefaultButton | mount | 1375 | 1351 | 5000 | |
| DetailsRow | mount | 3537 | 3618 | 5000 | |
| DetailsRowFast | mount | 3593 | 3602 | 5000 | |
| DetailsRowNoStyles | mount | 3468 | 3438 | 5000 | |
| Dialog | mount | 3114 | 3085 | 1000 | |
| DocumentCardTitle | mount | 571 | 568 | 1000 | |
| Dropdown | mount | 3204 | 3218 | 5000 | |
| FocusTrapZone | mount | 2015 | 1979 | 5000 | |
| FocusZone | mount | 1953 | 1995 | 5000 | |
| GroupedList | mount | 53148 | 59518 | 2 | |
| GroupedList | virtual-rerender | 25344 | 24738 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 94839 | 93005 | 2 | |
| GroupedListV2 | mount | 570 | 558 | 2 | |
| GroupedListV2 | virtual-rerender | 526 | 517 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 568 | 566 | 2 | |
| IconButton | mount | 1924 | 1902 | 5000 | |
| Label | mount | 724 | 726 | 5000 | |
| Layer | mount | 4303 | 4291 | 5000 | |
| Link | mount | 831 | 834 | 5000 | |
| MenuButton | mount | 1654 | 1681 | 5000 | |
| MessageBar | mount | 2376 | 2328 | 5000 | |
| Nav | mount | 3303 | 3261 | 1000 | |
| OverflowSet | mount | 1359 | 1380 | 5000 | |
| Panel | mount | 2520 | 2578 | 1000 | |
| Persona | mount | 1262 | 1296 | 1000 | |
| Pivot | mount | 1653 | 1628 | 1000 | |
| PrimaryButton | mount | 1532 | 1508 | 5000 | |
| Rating | mount | 7021 | 6988 | 5000 | |
| SearchBox | mount | 1500 | 1507 | 5000 | |
| Shimmer | mount | 2865 | 2919 | 5000 | |
| Slider | mount | 2113 | 2082 | 5000 | |
| SpinButton | mount | 4623 | 4692 | 5000 | |
| Spinner | mount | 799 | 803 | 5000 | |
| SplitButton | mount | 3131 | 3103 | 5000 | |
| Stack | mount | 870 | 856 | 5000 | |
| StackWithIntrinsicChildren | mount | 2327 | 2339 | 5000 | |
| StackWithTextChildren | mount | 4818 | 4824 | 5000 | |
| SwatchColorPicker | mount | 10533 | 10559 | 5000 | |
| TagPicker | mount | 2643 | 2634 | 5000 | |
| TeachingBubble | mount | 92593 | 90266 | 5000 | |
| Text | mount | 791 | 820 | 5000 | |
| TextField | mount | 1641 | 1604 | 5000 | |
| ThemeProvider | mount | 1541 | 1534 | 5000 | |
| ThemeProvider | virtual-rerender | 1097 | 1088 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2148 | 2159 | 5000 | |
| Toggle | mount | 1119 | 1113 | 5000 | |
| buttonNative | mount | 546 | 558 | 5000 |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1324 | 1310 | 5000 | |
| Button | mount | 950 | 945 | 5000 | |
| FluentProvider | mount | 1574 | 1608 | 5000 | |
| FluentProviderWithTheme | mount | 642 | 627 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 592 | 613 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 636 | 643 | 10 | |
| MakeStyles | mount | 1921 | 1909 | 50000 | |
| SpinButton | mount | 2603 | 2543 | 5000 |
| - `componentRef` => NOT SUPPORTED - use `ref` instead | ||
| - `hidePersonaDetails` => Use the `Avatar` component for this case | ||
| - ``` | ||
|
|
There was a problem hiding this comment.
post commit linting added this
| /** | ||
| * A decimal number between `0` and `1` (or between `0` and `max` if given), | ||
| * which specifies how much of the task has been completed. | ||
| * which specifies how much of the task has been completed. |
There was a problem hiding this comment.
post commit linting added this
change/@fluentui-react-persona-1132a852-8617-49d5-b3d6-c2afd4597ba6.json
Outdated
Show resolved
Hide resolved
change/@fluentui-react-progress-d2f5b5dc-e2a3-47c1-8a64-38ad980964e3.json
Outdated
Show resolved
Hide resolved
khmakoto
left a comment
There was a problem hiding this comment.
Should we have any documentation about special things you need to do so the components work correctly in React 18?
@micahgodbolt I think the idea is not to have to do anything, right? You should just be able to bump up to R18. |
As long as you aren't running your React 18 app inside of a yarn v1 mono repo that uses React 17 by default, ya should be good :D Controls are working out of the box. |
* chore: Bump v8 packages peer deps to include React 18 * change files * baseline * change files * Apply suggestions from code review * removing added packages * remove bad change file * put change file back
fixes #24975
To establish confidence that react will function properly, we have: