Skip to content

Commit 044f46b

Browse files
committed
changeset
1 parent 4293746 commit 044f46b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.changeset/icy-moles-study.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@tanstack/db-collections": patch
3+
"@tanstack/react-db": patch
4+
"@tanstack/vue-db": patch
5+
"@tanstack/db": patch
6+
---
7+
8+
A large refactor of the core `Collection` with:
9+
10+
- a change to not use Store internally and emit fine grade changes with `subscribeChanges` and `subscribeKeyChanges` methods.
11+
- changes to the `Collection` api to be more `Map` like for reads, with `get`, `has`, `size`, `entries`, `keys`, and `values`.
12+
- renames `config.getId` to `config.getKey` for consistency with the `Map` like api.

0 commit comments

Comments
 (0)