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)
Thu, Nov 7, 9:43 AM
Unknown Object (File)
Thu, Nov 7, 5:18 AM
Unknown Object (File)
Thu, Oct 31, 11:43 AM
Unknown Object (File)
Oct 7 2024, 4:42 AM
Unknown Object (File)
Oct 7 2024, 12:25 AM
Unknown Object (File)
Oct 7 2024, 12:25 AM
Unknown Object (File)
Oct 7 2024, 12:25 AM
Unknown Object (File)
Oct 1 2024, 12:00 PM
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
Branch
landjune23 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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