Skip to content

Removing star exports from @fluentui/react-link#22112

Merged
khmakoto merged 5 commits intomicrosoft:masterfrom
khmakoto:reactLinkStarExports
Mar 16, 2022
Merged

Removing star exports from @fluentui/react-link#22112
khmakoto merged 5 commits intomicrosoft:masterfrom
khmakoto:reactLinkStarExports

Conversation

@khmakoto
Copy link
Member

Current Behavior

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

New Behavior

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

Related Issue(s)

#22099

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 15, 2022

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 0ad210c:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 15, 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-link
Link
11.106 kB
4.507 kB
🤖 This report was generated against 6bee76a70a7490557cd2b5c2b5639ab6bed2e6a1

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 15, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1281 1284 5000
Button mount 759 731 5000
FluentProvider mount 2182 2211 5000
FluentProviderWithTheme mount 393 387 10
FluentProviderWithTheme virtual-rerender 342 368 10
FluentProviderWithTheme virtual-rerender-with-unmount 428 414 10
MakeStyles mount 1948 1947 50000

@size-auditor
Copy link

size-auditor bot commented Mar 15, 2022

Asset size changes

⚠️ Insufficient baseline data to detect size changes

Unable to find bundle size details for Baseline commit: 3c91959

Possible causes

  • The baseline build 3c91959 is broken
  • The Size Auditor run for the baseline build 3c91959 was not triggered

Recommendations

  • Please merge your branch for this Pull request with the latest master build and commit your changes once again

export * from './Link';
export {
Link,
linkClassName,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also linkClassNames now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@khmakoto khmakoto enabled auto-merge (squash) March 16, 2022 19:41
@khmakoto khmakoto merged commit 9c7743e into microsoft:master Mar 16, 2022
@khmakoto khmakoto deleted the reactLinkStarExports branch March 16, 2022 20:21
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.

4 participants