Skip to content

Commit 9e02ccb

Browse files
Version Packages
1 parent a8b42b2 commit 9e02ccb

File tree

8 files changed

+21
-26
lines changed

8 files changed

+21
-26
lines changed

.changeset/fresh-spiders-push.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/perf-autocomplete-context-split.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/perf-hasinteractivenodes-cleanup.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/codesandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@types/react": "^18.3.11",
1818
"@types/react-dom": "^18.3.0",
1919
"@vitejs/plugin-react": "^4.3.3",
20-
"@primer/react": "38.6.2",
20+
"@primer/react": "38.6.3",
2121
"@primer/styled-react": "1.0.2",
2222
"styled-components": "5.x",
2323
"typescript": "^5.9.2",

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc --noEmit"
1111
},
1212
"dependencies": {
13-
"@primer/react": "38.6.2",
13+
"@primer/react": "38.6.3",
1414
"@primer/styled-react": "1.0.2",
1515
"next": "^16.0.10",
1616
"react": "^19.2.0",

examples/theming/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@primer/octicons-react": "^19.14.0",
14-
"@primer/react": "38.6.2",
14+
"@primer/react": "38.6.3",
1515
"@primer/styled-react": "1.0.2",
1616
"clsx": "^2.1.1",
1717
"next": "^16.0.10",

packages/react/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @primer/react
22

3+
## 38.6.3
4+
5+
### Patch Changes
6+
7+
- [#7354](https://github.com/primer/react/pull/7354) [`efbebdf`](https://github.com/primer/react/commit/efbebdf6589bf454ab78f17c83dc84ce88145e7b) Thanks [@llastflowers](https://github.com/llastflowers)! - update SelectPanel Multi Select Modal story
8+
9+
- [#7337](https://github.com/primer/react/pull/7337) [`de970d6`](https://github.com/primer/react/commit/de970d6682f4e9a3aa5e3c637e0245da2a7a9d84) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(Autocomplete): Split context to reduce unnecessary re-renders
10+
11+
Split AutocompleteContext into separate contexts for static values, setters, and dynamic state.
12+
Components now subscribe only to the context slices they need, reducing re-renders.
13+
14+
- [#7342](https://github.com/primer/react/pull/7342) [`a8b42b2`](https://github.com/primer/react/commit/a8b42b2e4cff9575eae8df897e64c1ca67ee180a) Thanks [@mattcosta7](https://github.com/mattcosta7)! - perf(hasInteractiveNodes): Optimize with combined selector and early attribute checks
15+
16+
- Use combined querySelectorAll selector instead of recursive traversal
17+
- Check attribute-based states (disabled, hidden, inert) before getComputedStyle
18+
- Only call getComputedStyle when CSS-based visibility check is needed
19+
320
## 38.6.2
421

522
### Patch Changes

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@primer/react",
33
"type": "module",
4-
"version": "38.6.2",
4+
"version": "38.6.3",
55
"description": "An implementation of GitHub's Primer Design System using React",
66
"main": "./dist/index.js",
77
"module": "./dist/index.js",

0 commit comments

Comments
 (0)