forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Perf] Avoid React.Children.count traversal for empty state early ret…
…urn (microsoft#15503)
- Loading branch information
1 parent
ea78e4b
commit ca7538c
Showing
5 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
change/@fluentui-react-internal-2020-10-13-16-47-27-keco-react-children-for-empty.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Avoid React.Children traversal for early return cases", | ||
"packageName": "@fluentui/react-internal", | ||
"email": "KevinTCoughlin@users.noreply.github.com", | ||
"dependentChangeType": "patch", | ||
"date": "2020-10-13T23:47:26.980Z" | ||
} |
8 changes: 8 additions & 0 deletions
8
change/@uifabric-react-cards-2020-10-13-16-47-27-keco-react-children-for-empty.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Avoid React.Children traversal for early return cases", | ||
"packageName": "@fluentui/react-cards", | ||
"email": "KevinTCoughlin@users.noreply.github.com", | ||
"dependentChangeType": "patch", | ||
"date": "2020-10-13T23:47:14.293Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/react-cards/src/components/Card/CardSection/CardSection.view.tsx
This file contains 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
This file contains 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
This file contains 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