Skip to content

Remove star exports from react-radio#22106

Merged
spmonahan merged 5 commits into
microsoft:masterfrom
spmonahan:radio/remove-star-exports
Mar 16, 2022
Merged

Remove star exports from react-radio#22106
spmonahan merged 5 commits into
microsoft:masterfrom
spmonahan:radio/remove-star-exports

Conversation

@spmonahan

Copy link
Copy Markdown
Contributor

Current Behavior

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

New Behavior

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

Related Issue(s)

#22099

@codesandbox-ci

codesandbox-ci Bot commented Mar 15, 2022

Copy link
Copy Markdown

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 7e0e7f8:

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

@fabricteam

fabricteam commented Mar 15, 2022

Copy link
Copy Markdown
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
🤖 This report was generated against e0660222b8d9f4f38a61b718c18d4c67e52c8df9

@size-auditor

size-auditor Bot commented Mar 15, 2022

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: e0660222b8d9f4f38a61b718c18d4c67e52c8df9 (build)

@fabricteam

fabricteam commented Mar 15, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1076 1098 5000
Button mount 633 634 5000
FluentProvider mount 2091 2111 5000
FluentProviderWithTheme mount 317 308 10
FluentProviderWithTheme virtual-rerender 260 261 10
FluentProviderWithTheme virtual-rerender-with-unmount 363 327 10
MakeStyles mount 1887 1856 50000

@spmonahan spmonahan force-pushed the radio/remove-star-exports branch 2 times, most recently from 53d37ca to f275c4c Compare March 16, 2022 00:12
Comment thread packages/react-radio/etc/react-radio.api.md Outdated
spmonahan and others added 5 commits March 16, 2022 13:40
Removes star exports from src/index.ts in the react-radio package.
- Adds OnRadioChange type.
- Adds <component>ClassNames object exports.
@spmonahan spmonahan force-pushed the radio/remove-star-exports branch from 68b774d to 7e0e7f8 Compare March 16, 2022 20:47
@spmonahan spmonahan merged commit c0c9b30 into microsoft:master Mar 16, 2022
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.

4 participants