Skip to content

Added exports missing from components#23306

Closed
GeoffCoxMSFT wants to merge 1 commit intomicrosoft:masterfrom
GeoffCoxMSFT:missing-exports-to-resolve
Closed

Added exports missing from components#23306
GeoffCoxMSFT wants to merge 1 commit intomicrosoft:masterfrom
GeoffCoxMSFT:missing-exports-to-resolve

Conversation

@GeoffCoxMSFT
Copy link
Member

NOT TO BE CHECKED IN

This provides a list of the missing exports for individual component owners to fix.

@GeoffCoxMSFT GeoffCoxMSFT self-assigned this May 27, 2022
@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 8fc8451:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

🤖 This report was generated against 969708ea8759adeceb51f3d60a401989ceb2a9b4

@size-auditor
Copy link

size-auditor bot commented May 27, 2022

Asset size changes

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

Baseline commit: 969708ea8759adeceb51f3d60a401989ceb2a9b4 (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 1054 1050 5000
Button mount 663 637 5000
FluentProvider mount 2234 2193 5000
FluentProviderWithTheme mount 349 356 10
FluentProviderWithTheme virtual-rerender 286 270 10
FluentProviderWithTheme virtual-rerender-with-unmount 381 360 10
MakeStyles mount 1886 1892 50000

} from '@fluentui/react-accordion';
export {
Avatar,
// exported from component, but not exported from stable or unstable //AvatarGroup, et.al
Copy link
Contributor

Choose a reason for hiding this comment

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

AFAIR this is as expected.

Pattern should be like following (please correct me if I'm wrong) :

  • export "everything" from particular package (eg react-text)
  • export only what is really public API from react-components both stable and unstable

would be great to have this documented

@GeoffCoxMSFT
Copy link
Member Author

rc final shipped, closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants