rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.05k stars 37 forks source link

feat: Add Persist Writer #723

Closed arv closed 2 years ago

arv commented 2 years ago

Use a Transformer to transform one dag tree into another.

Then use this to implement a Persist Writer which uses the previous gathered chunks to determine what to write.

Towards #671

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache/5GTxjFiLkMgLAjpJ3XPQC2r9C9Kx
✅ Preview: https://replicache-git-fork-arv-persist-write-visitor-rocicorp.vercel.app

grgbkr commented 2 years ago

LGTM