@@ -143,9 +143,9 @@ const { insert, update } = useEvolu();
143
143
``` ts {{ title: 'React Native', language: 'tsx' }}
144
144
import { createEvolu , getOrThrow , SimpleName } from " @evolu/common" ;
145
145
import { createUseEvolu , EvoluProvider } from " @evolu/react" ;
146
- import { evoluSqliteDeps } from " @evolu/react-native/op-sqlite" ;
146
+ import { evoluReactNativeDeps } from " @evolu/react-native/op-sqlite" ;
147
147
148
- const evolu = createEvolu (evoluSqliteDeps )(Schema , {
148
+ const evolu = createEvolu (evoluReactNativeDeps )(Schema , {
149
149
name: getOrThrow (SimpleName .from (" your-app-name" )),
150
150
syncUrl: " wss://your-sync-url" , // optional, defaults to wss://free.evoluhq.com
151
151
});
@@ -165,9 +165,9 @@ const { insert, update } = useEvolu();
165
165
``` ts {{ title: 'Expo', language: 'tsx' }}
166
166
import { createEvolu , getOrThrow , SimpleName } from " @evolu/common" ;
167
167
import { createUseEvolu , EvoluProvider } from " @evolu/react" ;
168
- import { evoluSqliteDeps } from " @evolu/react-native/expo-sqlite" ;
168
+ import { evoluReactNativeDeps } from " @evolu/react-native/expo-sqlite" ;
169
169
170
- const evolu = createEvolu (evoluSqliteDeps )(Schema , {
170
+ const evolu = createEvolu (evoluReactNativeDeps )(Schema , {
171
171
name: getOrThrow (SimpleName .from (" your-app-name" )),
172
172
syncUrl: " wss://your-sync-url" , // optional, defaults to wss://free.evoluhq.com
173
173
});
0 commit comments