Skip to content

Comments

chore: stop using global document on HTMLElementWalker#29097

Merged
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--stop-using-global-document
Sep 18, 2023
Merged

chore: stop using global document on HTMLElementWalker#29097
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--stop-using-global-document

Conversation

@bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Sep 7, 2023

Previous Behavior

New Behavior

Removes usage of global document from @fluentui/react-tree

Related Issue(s)

  • Fixes #

@bsunderhus bsunderhus self-assigned this Sep 7, 2023
@bsunderhus bsunderhus marked this pull request as ready for review September 7, 2023 15:08
@bsunderhus bsunderhus requested a review from a team as a code owner September 7, 2023 15:08
@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 617 604 5000
Button mount 315 322 5000
Field mount 1059 1077 5000
FluentProvider mount 695 692 5000
FluentProviderWithTheme mount 80 84 10
FluentProviderWithTheme virtual-rerender 74 71 10
FluentProviderWithTheme virtual-rerender-with-unmount 73 78 10
InfoButton mount 17 10 5000
MakeStyles mount 861 861 50000
Persona mount 1726 1713 5000
SpinButton mount 1344 1356 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 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 39ca7a3:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.517 kB
19.64 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
208.327 kB
59.386 kB
react-components
react-components: FluentProvider & webLightTheme
40.713 kB
13.509 kB
react-portal-compat
PortalCompatProvider
6.541 kB
2.227 kB
🤖 This report was generated against cbcc41cab55eb19e12faf363d0c96adb45ee2cb0

@size-auditor
Copy link

size-auditor bot commented Sep 7, 2023

Asset size changes

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

Baseline commit: cbcc41cab55eb19e12faf363d0c96adb45ee2cb0 (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@bsunderhus bsunderhus merged commit 464d9b8 into microsoft:master Sep 18, 2023
@bsunderhus bsunderhus deleted the react-tree/chore--stop-using-global-document branch September 18, 2023 08:48
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.

4 participants