Skip to content

chore(react-aria): useARIAButton folder#24444

Merged
bsunderhus merged 2 commits into
microsoft:masterfrom
bsunderhus:react-aria-button-folder
Aug 22, 2022
Merged

chore(react-aria): useARIAButton folder#24444
bsunderhus merged 2 commits into
microsoft:masterfrom
bsunderhus:react-aria-button-folder

Conversation

@bsunderhus

Copy link
Copy Markdown
Contributor

Organizes folder structure for useARIAButton into a single folder, to open space for more hooks.

Before

image

After

image

@codesandbox-ci

Copy link
Copy Markdown

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 9a40073:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-button
Button
36.396 kB
9.575 kB
36.396 kB
9.579 kB

4 B
react-menu
Menu (including children components)
115.929 kB
35.379 kB
115.91 kB
35.382 kB
-19 B
3 B
react-menu
Menu (including selectable components)
119.128 kB
35.874 kB
119.109 kB
35.876 kB
-19 B
2 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-accordion
Accordion (including children components)
79.562 kB
24.121 kB
react-alert
Alert
83.79 kB
20.841 kB
react-avatar
Avatar
48.283 kB
13.644 kB
react-avatar
AvatarGroup
15.072 kB
6.016 kB
react-avatar
AvatarGroupItem
68.464 kB
19.067 kB
react-button
CompoundButton
43.469 kB
10.812 kB
react-button
MenuButton
39.014 kB
10.456 kB
react-button
SplitButton
46.544 kB
11.84 kB
react-button
ToggleButton
51.91 kB
11.003 kB
react-card
Card - All
67.458 kB
19.264 kB
react-card
Card
63.14 kB
18.176 kB
react-card
CardFooter
8.461 kB
3.555 kB
react-card
CardHeader
9.504 kB
3.896 kB
react-card
CardPreview
8.562 kB
3.61 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.031 kB
51.967 kB
react-components
react-components: FluentProvider & webLightTheme
32.895 kB
10.778 kB
react-dialog
Dialog (including children components)
85.574 kB
25.521 kB
react-popover
Popover
103.05 kB
31.561 kB
🤖 This report was generated against 55c839d4360e02a2cbd78229a39b1951145f2a59

@size-auditor

size-auditor Bot commented Aug 22, 2022

Copy link
Copy Markdown

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 55c839d4360e02a2cbd78229a39b1951145f2a59 (build)

@fabricteam

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1246 1272 5000
Button mount 955 968 5000
FluentProvider mount 1595 1580 5000
FluentProviderWithTheme mount 1855 631 10
FluentProviderWithTheme virtual-rerender 586 587 10
FluentProviderWithTheme virtual-rerender-with-unmount 622 616 10
MakeStyles mount 1908 1925 50000
SpinButton mount 2527 2474 5000

@bsunderhus bsunderhus merged commit bf151e7 into microsoft:master Aug 22, 2022
@bsunderhus bsunderhus deleted the react-aria-button-folder branch August 22, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants