Skip to content

Conversation

@ling1726
Copy link
Contributor

@ling1726 ling1726 commented Nov 1, 2022

Fixes #25459

@github-actions github-actions bot added this to the October Project Cycle Q4 2022 milestone Nov 1, 2022
@ling1726 ling1726 marked this pull request as ready for review November 1, 2022 21:34
@ling1726 ling1726 requested a review from a team as a code owner November 1, 2022 21:34
@size-auditor
Copy link

size-auditor bot commented Nov 1, 2022

Asset size changes

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

Baseline commit: e807070d2060f0003f69705b06784cd678285e5e (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 1, 2022

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 6c20b4f:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 1, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
62.94 kB
17.663 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.906 kB
52.963 kB
react-components
react-components: FluentProvider & webLightTheme
33.446 kB
11.033 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against e807070d2060f0003f69705b06784cd678285e5e

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 1, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1263 1259 5000
Button mount 913 918 5000
FluentProvider mount 1465 1473 5000
FluentProviderWithTheme mount 570 573 10
FluentProviderWithTheme virtual-rerender 529 542 10
FluentProviderWithTheme virtual-rerender-with-unmount 579 581 10
MakeStyles mount 1943 1944 50000
SpinButton mount 2357 2335 5000

Comment on lines +17 to +18
const tableState = useTable({ items, columns }, []);
const baseTableState = useTable_unstable({ ...props, as: 'div' }, ref);
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, the naming is very confusing.... perhaps useHeadlessTable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I agree, but I'd rather do this later, there are more important thigns that need to be implemented right now before we do a naming pass over everything

@ling1726 ling1726 merged commit 48c8520 into microsoft:master Nov 2, 2022
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Nov 2, 2022
* master: (23 commits)
  fix(docsite-v9): move theme picker under component title so it can be visible on embedded pages (microsoft#25385)
  applying package updates
  feat: Implement child render function for DataGrid rows (microsoft#25476)
  fix(useTable): sort should adapt to enhanced row types (microsoft#25487)
  applying package updates
  feat: positioning should happen out of React lifecycle (microsoft#25456)
  applying package updates
  chore(react-link): migrate to new package structure (microsoft#25471)
  chore(react-input): migrate to new package structure (microsoft#25469)
  fix glob pattern for syncpack (microsoft#25465)
  chore(react-label): migrate to new package structure (microsoft#25470)
  chore: bump Griffel to latest (microsoft#25412)
  chore: add few small toolbar improvements (microsoft#25468)
  docs: fix small typos (microsoft#25464)
  chore: fix dependencies in @fluentui/react-toolbar (microsoft#25466)
  feat: v0 menu style migration from v9 (microsoft#25012)
  applying package updates
  Update List to render children on first render() call (microsoft#25331)
  Scaffold react-skeleton package (microsoft#25435)
  fix(public-docsite): Changing crossplatform urls to use 'cross' instead of 'crossplatform' (microsoft#25437)
  ...
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
)

* feat: Implement child render function for DataGrid rows

* changefile

* update package.json

* update unit tests
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Feb 9, 2023
)

* feat: Implement child render function for DataGrid rows

* changefile

* update package.json

* update unit tests
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.

DataGrid: implement cell render function for rows

5 participants