Skip to content

feat(FluentProvider): emit errors on duplicate IDs#28670

Merged
layershifter merged 3 commits intomicrosoft:masterfrom
layershifter:feat/emit-warning-on-ids
Aug 1, 2023
Merged

feat(FluentProvider): emit errors on duplicate IDs#28670
layershifter merged 3 commits intomicrosoft:masterfrom
layershifter:feat/emit-warning-on-ids

Conversation

@layershifter
Copy link
Member

This PR:

  • updates docs to include a section about React 18
  • FluentProvider emits errors on if proper configuration is missing and IDs are duplicated
    image

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 28, 2023

Perf Analysis (@fluentui/react-components)

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

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 578 581 5000
Button mount 299 299 5000
Field mount 1044 1034 5000
FluentProvider mount 645 631 5000
FluentProviderWithTheme mount 71 73 10
FluentProviderWithTheme virtual-rerender 64 63 10
FluentProviderWithTheme virtual-rerender-with-unmount 74 70 10
InfoButton mount 15 13 5000 Possible regression
MakeStyles mount 844 853 50000
Persona mount 1663 1569 5000
SpinButton mount 1307 1308 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 28, 2023

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: Button, FluentProvider & webLightTheme
67.576 kB
18.225 kB
67.544 kB
18.216 kB
-32 B
-9 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
208.062 kB
57.968 kB
208.03 kB
57.96 kB
-32 B
-8 B
react-components
react-components: FluentProvider & webLightTheme
36.409 kB
12.003 kB
36.409 kB
12.01 kB

7 B
react-provider
FluentProvider
18.129 kB
6.73 kB
18.129 kB
6.742 kB

12 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against f9e014b3919f00068940b0dd94980f6d542eff68

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 28, 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 0c90e69:

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

@size-auditor
Copy link

size-auditor bot commented Jul 28, 2023

Asset size changes

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

Baseline commit: f9e014b3919f00068940b0dd94980f6d542eff68 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 28, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@layershifter layershifter merged commit 2ddd2ef into microsoft:master Aug 1, 2023
@layershifter layershifter deleted the feat/emit-warning-on-ids branch August 1, 2023 10:18
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 1, 2023
* master: (37 commits)
  release (microsoft#28696)
  Fixing re-render issue for all charts when empty (microsoft#28321)
  feat(FluentProvider): emit errors on duplicate IDs (microsoft#28670)
  applying package updates
  fix(react-positioning): autoSize causing position update to reach maximum (microsoft#28689)
  fix(react-tags-preview): fix InteractionTag hover styles (microsoft#28686)
  Accordion: export AccordionHeaderProvider (microsoft#28542)
  feat(react-shared-contexts): add AnnounceContext (microsoft#28654)
  Added VR tests for Breadcrumb (microsoft#28653)
  fix(react-menu): use outline for menuItem focus ring (microsoft#28685)
  [Bug]: Tree, vertical spacing of branches and children is inconsistent (microsoft#28681)
  feaTt(react-tree): adds openItems and checkedItems to tree callback data (microsoft#28669)
  applying package updates
  Add mountNode prop to combos (microsoft#28661)
  react-tags-preview: add more vr test (microsoft#28582)
  chore: migrate to nx 16.1.4 (microsoft#28583)
  applying package updates
  chore: improves internal headless signature (microsoft#28651)
  fix: remove margin from icon when ToolbarButton is vertical (microsoft#28658)
  applying package updates
  ...
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.

3 participants