Skip to content
Source
Sign inSign up
TanStack/db

Prep for initial release #2

MergedKyleAMathews(GitHub profile, opens in a new tab)merged 16 commits intomain fromrefs/pull/2/headmerged by KyleAMathews(GitHub profile, opens in a new tab)

Showing 79 changed files with 46 additions and 29 deletions (loading 73).

x
0 of 79 viewed, 79 left
6 additions and 0 deletions.changeset/tasty-results-doubt.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+"@tanstack/react-optimistic": patch
+"@tanstack/optimistic": patch
+---
+​
+Initial release
37 additions and 26 deletionsREADME.mdModified
View file
@@ -67,6 +67,7 @@
```
​
Returns:
+​
- `data`: An array of all items in the collection
- `state`: A Map containing all items in the collection with their internal keys
- `insert`: Function to add new items to the collection
@@ -87,6 +88,7 @@
```
​
Features:
+​
1. Returns a promise that resolves when the first sync commit is complete