@anfenn/dync 1.0.12 → 1.0.14
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,9 +8,10 @@ Start with a Website or PWA using IndexedDB, sync with your existing REST API, a
|
|
|
8
8
|
|
|
9
9
|
## Why Dync?
|
|
10
10
|
|
|
11
|
-
1.
|
|
11
|
+
1. Target IndexedDB as a PWA, and SQLite in the AppStores, with no code changes and native storage performance
|
|
12
|
+
2. Frictionless upgrade path from an offline-first PWA targeting IndexedDB, to when:
|
|
12
13
|
|
|
13
|
-
**A)
|
|
14
|
+
**A) Substring search is required on many records** (IndexedDB doesn't support this so will do a full table scan in the JS VM, which is both slow and will spike memory)
|
|
14
15
|
|
|
15
16
|
**_and/or_**
|
|
16
17
|
|
|
@@ -18,7 +19,6 @@ Start with a Website or PWA using IndexedDB, sync with your existing REST API, a
|
|
|
18
19
|
|
|
19
20
|
... you can simply add CapacitorJs or move to React Native which have sqlite & secure enclave storage, and only change the adapter Dync uses
|
|
20
21
|
|
|
21
|
-
2. Write once, run anywhere (Web, CapacitorJs, React Native, Electron & Node) with no code changes and native storage performance
|
|
22
22
|
3. Completely free and open source
|
|
23
23
|
|
|
24
24
|
<br>See first-hand in this fully working example: [examples/react-capacitor](examples/react-capacitor)
|
package/package.json
CHANGED