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)
Sat, Apr 20, 5:56 AM
Unknown Object (File)
Sat, Apr 20, 5:56 AM
Unknown Object (File)
Sat, Apr 20, 5:55 AM
Unknown Object (File)
Sat, Apr 20, 5:42 AM
Unknown Object (File)
Mar 8 2024, 1:33 AM
Unknown Object (File)
Feb 21 2024, 10:37 PM
Unknown Object (File)
Feb 21 2024, 4:38 PM
Unknown Object (File)
Feb 21 2024, 3:03 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