Page MenuHomePhabricator

[lib] Introduce newThread helper to message-reducer.js
ClosedPublic

Authored by ashoat on Nov 18 2022, 6:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 12:48 PM
Unknown Object (File)
Oct 12 2024, 10:38 AM
Unknown Object (File)
Sep 29 2024, 11:27 PM
Unknown Object (File)
Sep 29 2024, 11:27 PM
Unknown Object (File)
Sep 29 2024, 11:26 PM
Unknown Object (File)
Sep 29 2024, 11:25 PM
Unknown Object (File)
Sep 20 2024, 2:54 AM
Unknown Object (File)
Aug 31 2024, 4:31 PM
Subscribers
None

Details

Summary

This should be a no-op. The only change is that we will have slightly different pruning times, but that should not be significant.

Test Plan

Flow, and also the other testing I've done for the stack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul added inline comments.
lib/reducers/message-reducer.js
133 ↗(On Diff #18568)

Ah so the reason we're defining a function instead of an object that we "spread" later is because Date.now() is "dynamic"

This revision is now accepted and ready to land.Nov 21 2022, 10:31 AM
lib/reducers/message-reducer.js
133 ↗(On Diff #18568)

Yes