rocicorp / replicache

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

refactor: Rename ReplicacheOptions.userID and Replicache.userID back to name. #835

Closed grgbkr closed 2 years ago

grgbkr commented 2 years ago

This reverts commit d95d8bf18d84dc465f2cbe58069668fc86a2a6cd.

We realized we will need both a userID, and another identifier to support multiple Replicache instance for the same user (e.g. roomID). We will do this api change in v10 rather than v9.

Added details to documentation for name around Replicache bootsrapping and mutation recovery.

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/NMFpnoine1kz52UHyWxMtLMZQo98
✅ Preview: https://replicache-git-grgbkr-sdd-userid-back-to-name-rocicorp.vercel.app