Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(react-menu): adopt custom JSX pragma #27544

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Apr 13, 2023

New Behavior

Adopts react-jsx-runtime custom pragma on react-menu.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 13, 2023

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 4427a81:

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

@size-auditor
Copy link

size-auditor bot commented Apr 13, 2023

Asset size changes

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

Baseline commit: bb758eb9091e5c53f8d1d58baf50505aa2aa34cc (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Apr 13, 2023

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.629 kB
57.6 kB
208.31 kB
57.9 kB
681 B
300 B
react-menu
Menu (including children components)
131.151 kB
39.687 kB
131.181 kB
39.744 kB
30 B
57 B
react-menu
Menu (including selectable components)
134.287 kB
40.226 kB
134.187 kB
40.281 kB
-100 B
55 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
68.093 kB
18.424 kB
react-components
react-components: FluentProvider & webLightTheme
38.833 kB
12.37 kB
react-portal-compat
PortalCompatProvider
6.446 kB
2.185 kB
🤖 This report was generated against bb758eb9091e5c53f8d1d58baf50505aa2aa34cc

@fabricteam
Copy link
Collaborator

fabricteam commented Apr 13, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 18 18 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 711 718 5000
Button mount 398 415 5000
Field mount 1256 1262 5000
FluentProvider mount 795 763 5000
FluentProviderWithTheme mount 107 110 10
FluentProviderWithTheme virtual-rerender 90 95 10
FluentProviderWithTheme virtual-rerender-with-unmount 100 104 10
InfoButton mount 18 18 5000 Possible regression
MakeStyles mount 1228 1179 50000
Persona mount 1932 1899 5000
SpinButton mount 1508 1514 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Apr 13, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@bsunderhus bsunderhus marked this pull request as ready for review April 13, 2023 12:51
@bsunderhus bsunderhus requested a review from a team as a code owner April 13, 2023 12:51
@bsunderhus bsunderhus force-pushed the react-menu/feat--adopt-custom-jsx-pragma branch from c36650d to 4ddd5a1 Compare April 14, 2023 09:00
@bsunderhus
Copy link
Contributor Author

I'll be waiting for #27571 before merging this PR

@bsunderhus bsunderhus added the Status: Blocked Resolution blocked by another issue label Apr 14, 2023
@bsunderhus bsunderhus force-pushed the react-menu/feat--adopt-custom-jsx-pragma branch from 4ddd5a1 to 4427a81 Compare April 15, 2023 09:07
@bsunderhus bsunderhus removed the Status: Blocked Resolution blocked by another issue label Apr 15, 2023
@bsunderhus bsunderhus enabled auto-merge (squash) April 15, 2023 09:11
@bsunderhus bsunderhus merged commit 2dd9874 into microsoft:master Apr 15, 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