Page MenuHomePhabricator

[lib] Update `messageStore.messages` with `msgStoreOps` for remaining action types
ClosedPublic

Authored by atul on Jun 22 2022, 2:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 4:51 PM
Unknown Object (File)
Thu, Dec 5, 8:21 AM
Unknown Object (File)
Tue, Dec 3, 12:33 AM
Unknown Object (File)
Nov 16 2024, 4:50 AM
Unknown Object (File)
Nov 16 2024, 3:27 AM
Unknown Object (File)
Nov 16 2024, 2:02 AM
Unknown Object (File)
Nov 7 2024, 9:43 AM
Unknown Object (File)
Nov 7 2024, 5:18 AM
Subscribers

Details

Summary

These are the last actions in reduceMessageStore that need to be modified so we can remove assertMessageStoreMessagesAreEqual and solely use the "ops approach" to update messageStore.messages in redux.

The two remaining instances of assertMessageStoreMessagesAreEqual are in mergeNewMessages and will be addressed in the next diff.


Depends on D4330

Test Plan

This should be a straightforward refactor given we've had assertMessageStoreMessagesAreEqual in place for some time now.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Jun 22 2022, 2:29 PM
This revision is now accepted and ready to land.Jun 23 2022, 3:35 AM

rebase after cherrypicking and before landing