-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Updated to use single hook selector #27491
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
Updated to use single hook selector #27491
Conversation
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 699 | 705 | 5000 | |
| Button | mount | 380 | 387 | 5000 | |
| Field | mount | 1273 | 1292 | 5000 | |
| FluentProvider | mount | 930 | 902 | 5000 | |
| FluentProviderWithTheme | mount | 120 | 118 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 96 | 99 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 112 | 111 | 10 | |
| InfoButton | mount | 14 | 19 | 5000 | |
| MakeStyles | mount | 1134 | 1134 | 50000 | |
| Persona | mount | 2026 | 1928 | 5000 | |
| SpinButton | mount | 1565 | 1599 | 5000 |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c16f83e22aadf7756bf50d7f72d1ffa4b991dd11 (build) |
🕵 fluentuiv9 No visual regressions between this PR and main |
packages/react-components/react-divider/src/components/Divider/Divider.tsx
Show resolved
Hide resolved
8293954 to
358db07
Compare
* master: applying package updates microsoft#25730: TimePicker Default Value Fix, Controllable Usage, Example Updates (microsoft#26482) docs(react-datepicker-compat): Add description to README.md (microsoft#27677) Updated to use single hook selector (microsoft#27491) fix: Make border around Avatar's badge transparent using a mask (microsoft#27527) Disable focus on non-interactive elements (microsoft#27580) feat(react-drawer): implement "prevent close on click outside" feature (microsoft#27551)
* feat/drawer-components: (81 commits) docs: remove TODO marks fix: remove conflict code leftover applying package updates microsoft#25730: TimePicker Default Value Fix, Controllable Usage, Example Updates (microsoft#26482) docs(react-datepicker-compat): Add description to README.md (microsoft#27677) Updated to use single hook selector (microsoft#27491) fix: Make border around Avatar's badge transparent using a mask (microsoft#27527) Disable focus on non-interactive elements (microsoft#27580) feat(react-drawer): implement "prevent close on click outside" feature (microsoft#27551) fix(react-datepicker-compat): Make onValidationError onValidationResult so the error is updated when there's no longer an error (microsoft#27655) Fix `@fluentui/react-portal-compat`: to be compatible with React 18 (microsoft#27577) chore: fix versions of @fluentui/react-datepicker-compat (microsoft#27666) applying package updates applying package updates Make line chart screen reader accessible (microsoft#27632) fix(react-examples): Improve keyboard navigation in ContextualMenu.CustomMenuList (microsoft#25172) docs(react-textarea): Update examples to use Field (microsoft#27644) bugfix(react-dialog): `DialogTitle` root as `h2` by default (microsoft#27555) applying package updates chore: restructure stories, add separate category for flat tree (microsoft#27586) ...
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |

Problem
The large number of no-op implementation for the default value of the custom hooks is preventing bundling minification.
This is an alternative approach to #27404
Changes
Issues
Fixes #27139