Skip to content

Commit b96aa97

Browse files
authored
Merge pull request #177 from primer/changeset-release/main
Release Tracking
2 parents b1b2ce6 + b275ab5 commit b96aa97

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.changeset/gorgeous-zebras-hammer.md

-8
This file was deleted.

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @primer/behaviors
22

3+
## 1.3.2
4+
5+
### Patch Changes
6+
7+
- [#176](https://github.com/primer/behaviors/pull/176) [`5e74867`](https://github.com/primer/behaviors/commit/5e7486702074bbb89e6a7a96a4b0db71d763c74c) Thanks [@jbrown1618](https://github.com/jbrown1618)! - Use a binary search to find the insertion index for new elements managed by the focus zone.
8+
For a use case with 1000 elements managed by the focus zone, added one at a time (by react),
9+
this takes us from 500,000 calls to `compareDocumentPosition` over 1000ms to 8,000 calls
10+
over 16ms.
11+
312
## 1.3.1
413

514
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@primer/behaviors",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Shared behaviors for JavaScript components",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)