electric-sql / electric-sql/pglite

Usage with drizzle in React?

Open
#518 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
16k
Forks
442
Avg merge
20h 19m
Merged PRs (30d)
7

Description

```
const client = await PGlite.create({
dataDir: "idb://pgdata",
extensions: { live },
});

const db = drizzle({ client, schema: { usersTable } });
```

Is it possible to make PGliteProvider accept drizzle and make it work with useLiveQuery? The usePGlite works, the types are wrong though.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.