Skip to content

Commit 13bcf75

Browse files
layershifterclaude
andauthored
perf: memoize context values in use*ContextValues hooks (#36008)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c36cff5 commit 13bcf75

57 files changed

Lines changed: 595 additions & 254 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-accordion",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-avatar",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-carousel",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-color-picker",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-dialog",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-list",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-menu",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-popover",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-swatch-picker",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "perf: memoize context values in use*ContextValues hooks",
4+
"packageName": "@fluentui/react-table",
5+
"email": "olfedias@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)