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)
Wed, Dec 25, 5:30 AM
Unknown Object (File)
Sat, Dec 14, 12:07 AM
Unknown Object (File)
Wed, Nov 27, 5:11 PM
Unknown Object (File)
Wed, Nov 27, 2:15 PM
Unknown Object (File)
Nov 24 2024, 11:45 PM
Unknown Object (File)
Nov 23 2024, 6:25 PM
Unknown Object (File)
Nov 15 2024, 9:02 AM
Unknown Object (File)
Nov 5 2024, 5:39 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
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