@shapeshift-labs/frontier-react 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ This package sits above the Frontier runtime packages. It gives React apps a sma
|
|
|
15
15
|
- [`@shapeshift-labs/frontier-state-cache`](https://www.npmjs.com/package/@shapeshift-labs/frontier-state-cache): normalized query/result cache.
|
|
16
16
|
- [`@shapeshift-labs/frontier-crdt`](https://www.npmjs.com/package/@shapeshift-labs/frontier-crdt): CRDT document layer.
|
|
17
17
|
- [`@shapeshift-labs/frontier-crdt-sync`](https://www.npmjs.com/package/@shapeshift-labs/frontier-crdt-sync): sync/repo/provider layer for CRDT documents.
|
|
18
|
+
- [`@shapeshift-labs/frontier-richtext`](https://www.npmjs.com/package/@shapeshift-labs/frontier-richtext): rich text Delta/range/cursor helpers that editor adapters can wrap.
|
|
18
19
|
|
|
19
20
|
Package source repositories:
|
|
20
21
|
|
|
@@ -23,6 +24,7 @@ Package source repositories:
|
|
|
23
24
|
- [`siliconjungle/-shapeshift-labs-frontier-state-cache`](https://github.com/siliconjungle/-shapeshift-labs-frontier-state-cache)
|
|
24
25
|
- [`siliconjungle/-shapeshift-labs-frontier-crdt`](https://github.com/siliconjungle/-shapeshift-labs-frontier-crdt)
|
|
25
26
|
- [`siliconjungle/-shapeshift-labs-frontier-crdt-sync`](https://github.com/siliconjungle/-shapeshift-labs-frontier-crdt-sync)
|
|
27
|
+
- [`siliconjungle/-shapeshift-labs-frontier-richtext`](https://github.com/siliconjungle/-shapeshift-labs-frontier-richtext)
|
|
26
28
|
- [`siliconjungle/-shapeshift-labs-frontier-react`](https://github.com/siliconjungle/-shapeshift-labs-frontier-react)
|
|
27
29
|
|
|
28
30
|
## Install
|
|
@@ -210,7 +212,7 @@ Latest local package benchmark on Node v26.1.0, darwin arm64, 9 rounds:
|
|
|
210
212
|
|
|
211
213
|
| Fixture | Median | p95 |
|
|
212
214
|
| --- | ---: | ---: |
|
|
213
|
-
| React patch store replace, 1k rows one edit |
|
|
215
|
+
| React patch store replace, 1k rows one edit | 224.61 us | 231.38 us |
|
|
214
216
|
| External store adapter notify 10 listeners | 0.08 us | 0.10 us |
|
|
215
217
|
| State engine adapter snapshot read | 0.01 us | 0.01 us |
|
|
216
218
|
|
|
@@ -218,8 +220,8 @@ Latest local full client/server React flow benchmark on Node v26.1.0, darwin arm
|
|
|
218
220
|
|
|
219
221
|
| Fixture | Total median | Total p95 | Local commit | Provider sync call | Remote render wait | Update bytes |
|
|
220
222
|
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
|
|
221
|
-
| E2E CRDT text insert to React render | 2.
|
|
222
|
-
| E2E CRDT JSON set to React render | 1.
|
|
223
|
+
| E2E CRDT text insert to React render | 2.15 ms | 5.54 ms | 21.25 us | 103.00 us | 1.90 ms | 41 |
|
|
224
|
+
| E2E CRDT JSON set to React render | 1.86 ms | 5.82 ms | 15.50 us | 95.79 us | 1.53 ms | 50 |
|
|
223
225
|
|
|
224
226
|
These are Frontier-only package measurements, not competitor comparisons.
|
|
225
227
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapeshift-labs/frontier-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "React external-store hooks and adapters for Frontier state, cache, and CRDT surfaces.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@shapeshift-labs/frontier-crdt": "^0.1.2",
|
|
75
75
|
"@shapeshift-labs/frontier-crdt-sync": "^0.1.4",
|
|
76
|
-
"@shapeshift-labs/frontier-crdt-websocket": "^0.1.
|
|
76
|
+
"@shapeshift-labs/frontier-crdt-websocket": "^0.1.4",
|
|
77
77
|
"@types/node": "^24.10.1",
|
|
78
78
|
"@types/react": "^18.3.12",
|
|
79
79
|
"react": "^18.3.1",
|