Page MenuHomePhabricator

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

Authored by benschac on Mar 29 2022, 7:13 AM.
Tags
None
Referenced Files
F3356337: D3538.diff
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
Unknown Object (File)
Tue, Nov 5, 5:35 AM
Unknown Object (File)
Thu, Oct 24, 10:43 PM
Unknown Object (File)
Oct 9 2024, 6:31 PM

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