Page MenuHomePhabricator

[web] [refactor] destructure props to match project
ClosedPublic

Authored by benschac on Mar 29 2022, 7:13 AM.
Tags
None
Referenced Files
F3379567: D3538.id10896.diff
Wed, Nov 27, 5:11 PM
F3378949: D3538.id10771.diff
Wed, Nov 27, 2:15 PM
Unknown Object (File)
Sun, Nov 24, 11:45 PM
Unknown Object (File)
Sat, Nov 23, 6:25 PM
Unknown Object (File)
Fri, Nov 15, 9:02 AM
Unknown Object (File)
Tue, Nov 5, 5:39 AM
Unknown Object (File)
Tue, Nov 5, 5:39 AM
Unknown Object (File)
Tue, Nov 5, 5:38 AM

Details

Summary

update props to stay consistent with project in side-bar item

Test Plan

side bar item still renders and shows unread as expected

Diff Detail

Repository
rCOMM Comm
Branch
fix-side-bar
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

I'd prefer the former approach - I find it more readable. And I don't think that having this so consistent has a significant impact on the readability and maintainability (even when in all the components we used the same approach when destructuring the props, it wouldn't make the codebase significantly more readable).

Accepting, but I don't think that it matters too much

This revision is now accepted and ready to land.Mar 29 2022, 8:51 AM

I also generally don't see the point of diffs like this, and find the former approach slightly more readable anyways