-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: migrate from getNativeElementProps to getIntrinsicElementProps #29499
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
Merged
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:cxe-us/chore--migrate-from-getNativeElementProps-to-getIntrinsicElementProps
Oct 13, 2023
Merged
chore: migrate from getNativeElementProps to getIntrinsicElementProps #29499
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:cxe-us/chore--migrate-from-getNativeElementProps-to-getIntrinsicElementProps
Oct 13, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
📊 Bundle size reportUnchanged fixtures
|
9b335e6 to
6feb80f
Compare
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 626 | 635 | 5000 | |
| Button | mount | 320 | 297 | 5000 | |
| Field | mount | 1120 | 1143 | 5000 | |
| FluentProvider | mount | 698 | 718 | 5000 | |
| FluentProviderWithTheme | mount | 85 | 81 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 73 | 74 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 76 | 80 | 10 | |
| InfoButton | mount | 17 | 15 | 5000 | |
| MakeStyles | mount | 872 | 862 | 50000 | |
| Persona | mount | 1704 | 1724 | 5000 | |
| SpinButton | mount | 1426 | 1393 | 5000 |
|
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 c21afae:
|
6feb80f to
8eaf705
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1a52f5b27e2f71f7257c470bc9c7552ea5e07867 (build) |
khmakoto
reviewed
Oct 11, 2023
packages/react-components/react-divider/src/components/Divider/useDivider.ts
Show resolved
Hide resolved
packages/react-components/react-tabs/src/components/TabList/useTabList.ts
Show resolved
Hide resolved
69b91ba to
c21afae
Compare
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
khmakoto
approved these changes
Oct 12, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


New Behavior
Follow up on #29310
getNativeElementPropshas some type safety issues, allowing erroneous properties to be introduced.getNativeElementPropswith an equivalent but more restrict methodgetIntrinsicElementProps