Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 581 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 581 Bytes

Small WatermelonDB with Expo demo

Technologies used

  • Expo
  • Expo config plugins
  • WatermelonDB

Typescript

In tsconfig.json :

    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,

Pass model as generic when getting collections :

await database.get<Post>("posts")

When using withDatabase, type database using following type :

import { Database } from "@nozbe/watermelondb"

Issues

issue to fix to build on m1 : remove arm64 from excluded architectures expo/expo#15800 (comment)