rocicorp / replicache

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

feat: Add watch function #976

Closed arv closed 2 years ago

arv commented 2 years ago

Now you can get called after a commit is complete and the arguments passed to the watch function includes a diff of the changes.

Closes #839

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
replicache ✅ Ready (Inspect) Visit Preview Apr 21, 2022 at 1:42PM (UTC)
arv commented 2 years ago

This is not the final API!!!

This is now the final API

arv commented 2 years ago

Now with final watch API

@aboodman Please review the API and the JSDoc

@grgbkr Please review logic in watcher.ts