import { ExpoSQLitePersistence } from "y-expo-sqlite";
const __ydoc = new Y.Doc();
const __yarray = __ydoc.getArray<Todo>("todos");
const provider = new ExpoSQLitePersistence("TodosDoc", __ydoc);
provider.whenSynced.then(() => {
console.log("content finished loading from database.");
});
y-expo-sqlite
0.1.0 • Public • PublishedPackage Sidebar
Install
npm i y-expo-sqlite
Repository
Weekly Downloads
2
Version
0.1.0
License
MIT
Unpacked Size
12.6 kB
Total Files
9