Page MenuHomePhabricator

[web] Pull out `filterOut[Parent/Other]MembersWithENSNames` to remove branching
ClosedPublic

Authored by atul on Nov 16 2023, 12:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:24 AM
Unknown Object (File)
Mon, Jun 24, 7:10 AM
Unknown Object (File)
Wed, Jun 19, 9:45 PM
Unknown Object (File)
Wed, Jun 19, 9:45 PM
Unknown Object (File)
Wed, Jun 19, 9:45 PM
Subscribers
None

Details

Summary

Context: https://phab.comm.dev/D9907?id=33305#inline-61775

Basically pulling out the filter/map functionality to separate function where input is typed to avoid cut/paste and branching.

Open to any other approaches.


Depends on D9907

Test Plan

Flow/ESlint

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable