Page MenuHomePhabricator

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

Authored by benschac on Mar 29 2022, 7:13 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Tue, Nov 5, 5:35 AM
Unknown Object (File)
Oct 24 2024, 10:43 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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