Skip to content

adblanc/expo-watermelondb-demo

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published