rocicorp / replicache

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

Should use json equals in BTree diff algo #841

Closed arv closed 2 years ago

arv commented 2 years ago

This looks suspicious: https://github.com/rocicorp/replicache/blob/e4c67f42481f9025f633e4cdc7dd9a5ff9089b40/src/btree/splice.ts#L34

It will not treat {a: 1} as === to {a: 1}