HomePhabricator
Diffusion Comm 6cb4c89ac6a2

[native] Memoize `roundCorners` in `community-pill`

Description

[native] Memoize roundCorners in community-pill

Summary: Was looking at this component as part of CommunityCreationModal work and noticed roundCorners could be memoized.

Test Plan: Close reading.

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7722

Details

Provenance
atulAuthored on May 8 2023, 5:48 AM
Reviewer
ashoat
Differential Revision
D7722: [native] Memoize `roundCorners` in `community-pill`
Parents
rCOMMa74cdf7fdc5e: [lib] move `isStaff()` to separate file
Branches
Unknown
Tags
Unknown