Skip to content

Removing star exports from @fluentui/react-button#22111

Merged
khmakoto merged 2 commits intomicrosoft:masterfrom
khmakoto:reactButtonStarExports
Mar 16, 2022
Merged

Removing star exports from @fluentui/react-button#22111
khmakoto merged 2 commits intomicrosoft:masterfrom
khmakoto:reactButtonStarExports

Conversation

@khmakoto
Copy link
Member

Current Behavior

react-button has export * from ... in src/index.ts.

New Behavior

react-button has explicitly named exports in src/index.ts.

Related Issue(s)

#22099

@codesandbox-ci
Copy link

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 733a7e2:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-button
Button
28.013 kB
8.059 kB
react-button
CompoundButton
33.508 kB
9.092 kB
react-button
MenuButton
29.763 kB
8.656 kB
react-button
SplitButton
36.235 kB
9.857 kB
react-button
ToggleButton
37.395 kB
8.68 kB
react-card
Card - All
53.205 kB
15.27 kB
react-card
Card
48.898 kB
14.083 kB
react-card
CardFooter
7.653 kB
3.246 kB
react-card
CardHeader
8.931 kB
3.689 kB
react-card
CardPreview
7.626 kB
3.272 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
175.69 kB
48.974 kB
react-components
react-components: FluentProvider & webLightTheme
32.526 kB
10.645 kB
🤖 This report was generated against 3afa35421e7cffc69d202172d3c57f4706d080f0

@size-auditor
Copy link

size-auditor bot commented Mar 15, 2022

Asset size changes

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

Baseline commit: 80746a7f3462c2fa4ff15a92d6e196c67d652f6a (build)

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1111 1094 5000
Button mount 663 634 5000
FluentProvider mount 2199 2161 5000
FluentProviderWithTheme mount 325 329 10
FluentProviderWithTheme virtual-rerender 254 275 10
FluentProviderWithTheme virtual-rerender-with-unmount 341 376 10
MakeStyles mount 1906 1943 50000

@khmakoto khmakoto merged commit 6bee76a into microsoft:master Mar 16, 2022
@khmakoto khmakoto deleted the reactButtonStarExports branch March 16, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants