-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: migrate from getNativeElementProps to getIntrinsicElementProps #29387
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:react-utilities/chore--migrate-from-getNativeElementProps-to-getIntrinsicElementProps
Oct 4, 2023
Merged
chore: migrate from getNativeElementProps to getIntrinsicElementProps #29387
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:react-utilities/chore--migrate-from-getNativeElementProps-to-getIntrinsicElementProps
Oct 4, 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
|
e457df2 to
cf5b015
Compare
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| InfoButton | mount | 12 | 13 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 622 | 635 | 5000 | |
| Button | mount | 309 | 318 | 5000 | |
| Field | mount | 1086 | 1133 | 5000 | |
| FluentProvider | mount | 691 | 690 | 5000 | |
| FluentProviderWithTheme | mount | 76 | 84 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 60 | 60 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 72 | 73 | 10 | |
| InfoButton | mount | 12 | 13 | 5000 | Possible regression |
| MakeStyles | mount | 870 | 841 | 50000 | |
| Persona | mount | 1776 | 1662 | 5000 | |
| SpinButton | mount | 1377 | 1417 | 5000 |
cf5b015 to
86b584e
Compare
|
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 27bb961:
|
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
86b584e to
17e6662
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 5ccd6610a7f86ea7d22aae7c0a62f3f0061f0bc5 (build) |
17e6662 to
27bb961
Compare
layershifter
approved these changes
Oct 4, 2023
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Oct 4, 2023
* master: (35 commits) bugfix(react-dialog): removes context hooks invocations from styles hook (microsoft#29396) chore(react-dialog): exports DialogSurface context types and hooks (microsoft#29397) Minimum height feature for bar chart (microsoft#29359) (feat) Breadcrumb - register items via context (microsoft#29393) fix: Consider all parents as scroll parents (microsoft#29378) Changes to enable charting on fluent docsite (microsoft#29210) bugfix: ensure TreeItem emits events properly (microsoft#29390) chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (microsoft#29320) chore: migrate from getNativeElementProps to getIntrinsicElementProps (microsoft#29387) applying package updates applying package updates fix: Icon in disabled Button shouldn't change color on hover or pressed (microsoft#29342) Squish changes for rebase (microsoft#28705) fix: GroupedListV2 scrollToIndex now works correctly (microsoft#29332) Fix 27482: ProgressBar has an optional state variable (microsoft#29366) remove a11y test ux from theme designer (microsoft#29379) feat: preview release (microsoft#29377) Fixed divider in the tooltip (microsoft#29357) fix (microsoft#29376) docs: Initial documentation pass (microsoft#29372) ...
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