Skip to content

Commit 2e39b2a

Browse files
authored
Update README.md
1 parent 6bf301e commit 2e39b2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ By default, Replicache uses IndexedDB in the web-browser. This technology isn't
1010

1111
## What's the strategy?
1212

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).
1414

1515
Additionally, some configuration is required to received poke events from the server.
1616

1717
## How can I install this?
1818

1919
1. Install the following in your React Native project:
2020
- `yarn add @react-native-replicache/react-native-quick-sqlite react-native-quick-sqlite expo-crypto`
21+
- or
22+
- `yarn add @react-native-replicache/react-native-expo-sqlite expo-sqlite expo-crypto`
2123
2. Ensure that you've polyfilled `crypto.getRandomValues` on the global namespace.
2224
- See [here for an example](https://github.com/Braden1996/react-native-replicache/blob/master/packages/example/mobile-react-native/src/crypto-polyfill.ts).
2325
3. Pass `createReplicacheQuickSQLiteExperimentalCreateKVStore` into Replicache's `experimentalCreateKVStore` option.

0 commit comments

Comments
 (0)