Skip to content

Conversation

@bsunderhus
Copy link
Contributor

Previous Behavior

New Behavior

Related Issue(s)

  • Fixes #

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
560 B
352 B
react-badge
Badge
23.512 kB
7.197 kB
react-badge
CounterBadge
24.416 kB
7.506 kB
react-badge
PresenceBadge
31.904 kB
8.296 kB
react-divider
Divider
17.399 kB
6.298 kB
react-image
Image
11.479 kB
4.573 kB
react-label
Label
10.104 kB
4.185 kB
react-link
Link
12.357 kB
5.091 kB
react-overflow
hooks only
11.214 kB
4.271 kB
react-portal
Portal
11.649 kB
4.262 kB
react-positioning
usePositioning
24.008 kB
8.798 kB
react-provider
FluentProvider
18.033 kB
6.666 kB
react-text
Text - Default
12.492 kB
4.92 kB
react-text
Text - Wrappers
15.624 kB
5.232 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against 6d0848597a7c07883a93b13f67f6727fd791f3dd

@size-auditor
Copy link

size-auditor bot commented May 3, 2023

Asset size changes

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

Baseline commit: 6d0848597a7c07883a93b13f67f6727fd791f3dd (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 690 702 5000
Button mount 380 372 5000
Field mount 1272 1238 5000
FluentProvider mount 907 911 5000
FluentProviderWithTheme mount 119 118 10
FluentProviderWithTheme virtual-rerender 103 92 10
FluentProviderWithTheme virtual-rerender-with-unmount 108 103 10
InfoButton mount 17 20 5000
MakeStyles mount 1116 1092 50000
Persona mount 2035 1972 5000
SpinButton mount 1546 1593 5000

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

componentType,
renderFunction,
$$typeof: SLOT_COMPONENT_SYMBOL,
props: Object.assign(props, overrides),
Copy link
Member

Choose a reason for hiding this comment

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

As commented on another PR, overrides might be not the best concept (https://github.com/microsoft/fluentui/pull/27753/files#r1184763865) as we can't explain who it should be used over slot.props. And it even cannot be used now for cases with callbacks, for example.

@bsunderhus
Copy link
Contributor Author

closing this in favor of #27753

@bsunderhus bsunderhus closed this Jun 28, 2023
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.

3 participants