We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bdd792 commit 94a6804Copy full SHA for 94a6804
1 file changed
packages/api/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx
@@ -40,6 +40,9 @@ const ActivityKeyerComposer = ({ children }: Readonly<{ children?: ReactNode | u
40
41
const [activities] = useActivities();
42
43
+ // TODO: [P0] We should remove the mapping in favor of `localId`,
44
+ // the id should represent the latest available activity in the stream
45
+ //
46
// Maps are intentionally mutable so the incremental fast path can append to them in-place.
47
const activityIdToKeyMapRef = useRef<ActivityIdToKeyMap>(new Map());
48
const activityToKeyMapRef = useRef<ActivityToKeyMap>(new Map());
0 commit comments