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

feat(react-provider): adopt custom JSX pragma #27547

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Apr 13, 2023

New Behavior

Adopts react-jsx-runtime custom pragma on react-provider

@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 eb8fd23:

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: Button, FluentProvider & webLightTheme
68.093 kB
18.424 kB
68.803 kB
18.728 kB
710 B
304 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.629 kB
57.6 kB
208.34 kB
57.869 kB
711 B
269 B
react-components
react-components: FluentProvider & webLightTheme
38.833 kB
12.37 kB
38.886 kB
12.41 kB
53 B
40 B
react-provider
FluentProvider
20.78 kB
7.135 kB
20.833 kB
7.177 kB
53 B
42 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-portal-compat
PortalCompatProvider
6.446 kB
2.185 kB
🤖 This report was generated against 2e1cf8928df3e4f0b64b7390408374db94ae9e2c

@fabricteam
Copy link
Collaborator

fabricteam commented Apr 13, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProvider mount 920 929 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 675 780 5000
Button mount 400 385 5000
Field mount 1372 1386 5000
FluentProvider mount 920 929 5000 Possible regression
FluentProviderWithTheme mount 123 127 10
FluentProviderWithTheme virtual-rerender 101 103 10
FluentProviderWithTheme virtual-rerender-with-unmount 112 108 10
InfoButton mount 26 18 5000
MakeStyles mount 1187 1110 50000
Persona mount 1986 2038 5000
SpinButton mount 1620 1553 5000

@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
@fabricteam
Copy link
Collaborator

fabricteam commented Apr 13, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@bsunderhus bsunderhus force-pushed the react-provider/feat--adopt-custom-jsx-pragma branch from c4bd356 to 89f5d1e Compare April 14, 2023 09:10
@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-provider/feat--adopt-custom-jsx-pragma branch from 89f5d1e to eb8fd23 Compare April 15, 2023 09:06
@bsunderhus bsunderhus enabled auto-merge (squash) April 15, 2023 09:11
@bsunderhus bsunderhus merged commit 0dfc7e1 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