Closed arv closed 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/4nKePniFpLJtAGaoEtagcvnsRMkg
✅ Preview: https://replicache-git-arv-must-get-chunk-rocicorp.vercel.app
LGTM.
Now, all code paths that gets a required chunk uses
mustGetChunk
. When the chunk is missing this throws aMissingChunkError
.The idea is that the caller will detect these errors and see if the client might have been GC'd.
Towards #784