Skip to content

Removing star exports from @fluentui/react-label#22138

Merged
khmakoto merged 2 commits intomicrosoft:masterfrom
khmakoto:reactLabelStarExports
Mar 17, 2022
Merged

Removing star exports from @fluentui/react-label#22138
khmakoto merged 2 commits intomicrosoft:masterfrom
khmakoto:reactLabelStarExports

Conversation

@khmakoto
Copy link
Member

Current Behavior

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

New Behavior

react-label 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 967ca51:

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-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
176.084 kB
49.112 kB
react-components
react-components: FluentProvider & webLightTheme
32.526 kB
10.645 kB
react-label
Label
8.371 kB
3.504 kB
react-slider
Slider
25.402 kB
8.251 kB
react-switch
Switch
24.279 kB
8.001 kB
🤖 This report was generated against c0c9b30ae2393775eac02870f6b04cade31ef3ac

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 16, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1151 1178 5000
Button mount 686 716 5000
FluentProvider mount 2182 2113 5000
FluentProviderWithTheme mount 374 351 10
FluentProviderWithTheme virtual-rerender 313 299 10
FluentProviderWithTheme virtual-rerender-with-unmount 396 400 10
MakeStyles mount 1787 1879 50000

@size-auditor
Copy link

size-auditor bot commented Mar 16, 2022

Asset size changes

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

Baseline commit: e519870c385707ae78e160e4b1a671ec97d5f6ec (build)

@khmakoto khmakoto merged commit 19dbc6a into microsoft:master Mar 17, 2022
@khmakoto khmakoto deleted the reactLabelStarExports branch March 17, 2022 00:14
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.

3 participants