Skip to content

Commit 47bf854

Browse files
committed
Add a TODO
1 parent 39f4635 commit 47bf854

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/firestore/src/local/local_store_impl.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,10 @@ export async function localStoreNotifyLocalViewChanges(
872872
);
873873
localStoreImpl.targetDataByTarget =
874874
localStoreImpl.targetDataByTarget.insert(targetId, updatedTargetData);
875+
876+
// TODO(b/272564316): Apply the optimization done on other platforms.
877+
// This is a problem for web because saving the updated targetData from
878+
// non-primary client conflicts with what primary client saved.
875879
}
876880
}
877881
}

0 commit comments

Comments
 (0)