Page MenuHomePhabricator

[lib] Move local id update reducer into specs
ClosedPublic

Authored by tomek on Sep 28 2023, 8:10 AM.
Tags
None
Referenced Files
F2151204: D9318.id31528.diff
Sun, Jun 30, 12:15 PM
F2150107: D9318.id.diff
Sun, Jun 30, 9:26 AM
F2148636: D9318.id31781.diff
Sun, Jun 30, 5:46 AM
F2145082: D9318.id31615.diff
Sat, Jun 29, 9:23 PM
Unknown Object (File)
Tue, Jun 25, 5:48 PM
Unknown Object (File)
Mon, Jun 24, 5:16 AM
Unknown Object (File)
Fri, Jun 21, 9:50 AM
Unknown Object (File)
Fri, Jun 21, 9:50 AM
Subscribers

Details

Summary
Test Plan

Check if the new code produces the same result as the old one.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.Sep 28 2023, 8:28 AM
kamil added inline comments.
lib/reducers/local-id-reducer.js
115–123 ↗(On Diff #31528)

as previously, I prefer a more functional approach here than a loop but I am afraid Flow will complain

This revision is now accepted and ready to land.Sep 29 2023, 4:01 AM

Use more functional approach