Skip to content

Removing star exports from @fluentui/react-switch#22139

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

Removing star exports from @fluentui/react-switch#22139
khmakoto merged 2 commits intomicrosoft:masterfrom
khmakoto:reactSwitchStarExports

Conversation

@khmakoto
Copy link
Member

Current Behavior

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

New Behavior

react-switch 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 fad0395:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 16, 2022

📊 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-switch
Switch
24.279 kB
8.001 kB
🤖 This report was generated against c0c9b30ae2393775eac02870f6b04cade31ef3ac

@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)

@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 1091 1063 5000
Button mount 620 641 5000
FluentProvider mount 2155 2115 5000
FluentProviderWithTheme mount 335 314 10
FluentProviderWithTheme virtual-rerender 282 244 10
FluentProviderWithTheme virtual-rerender-with-unmount 350 340 10
MakeStyles mount 1807 1804 50000

@khmakoto khmakoto merged commit 956f573 into microsoft:master Mar 17, 2022
@khmakoto khmakoto deleted the reactSwitchStarExports branch March 17, 2022 17:18
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