Starting with 0.2.0-alpha.44 TypeORM supports React Native with the react-native-sqlite-storage
plugin.
This example shows how you can use TypeORM in your app.
Use react-native run-android
to run this example on your device.
npm install typeorm --save
npm install @types/node --save-dev
skipLibCheck: true
to your tsconfig.json
-file (Node.js and React Native define require
)react-native
as type
for your connection option (read more about connection options)