You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,16 @@ By default, Replicache uses IndexedDB in the web-browser. This technology isn't
10
10
11
11
## What's the strategy?
12
12
13
-
Currently, the strategy is to provide an implementation of Replicache's `ExperimentalCreateKVStore` backed by [`react-native-quick-sqlite`](https://github.com/ospfranco/react-native-quick-sqlite).
13
+
Currently, the strategy is to provide an implementation of Replicache's `ExperimentalCreateKVStore` backed by [`react-native-quick-sqlite`](https://github.com/ospfranco/react-native-quick-sqlite) or [`expo-sqlite`](https://docs.expo.dev/versions/latest/sdk/sqlite/#sqltransaction).
14
14
15
15
Additionally, some configuration is required to received poke events from the server.
16
16
17
17
## How can I install this?
18
18
19
19
1. Install the following in your React Native project:
2. Ensure that you've polyfilled `crypto.getRandomValues` on the global namespace.
22
24
- See [here for an example](https://github.com/Braden1996/react-native-replicache/blob/master/packages/example/mobile-react-native/src/crypto-polyfill.ts).
23
25
3. Pass `createReplicacheQuickSQLiteExperimentalCreateKVStore` into Replicache's `experimentalCreateKVStore` option.
0 commit comments