HomePhabricator
Diffusion Comm ec9b4fe9e731

[web] [refactor] move use unread into its own hook

Description

[web] [refactor] move use unread into its own hook

Summary:
Move unread toggle into it's own hook. This functionality is used in native as well.
https://linear.app/comm/issue/ENG-861/refactor-unreadstatus-into-hook-for-both-native-and-web

Screen Recording 2022-03-14 at 10.59.16 AM.gif (717×891 px, 1 MB)

Test Plan: Toggle unread in web, make sure the functionality still works.

Reviewers: atul, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3418

Details

Provenance
benschacAuthored on Mar 15 2022, 9:41 AM
Reviewer
tomek
Differential Revision
D3418: [web] [refactor] move use unread into its own hook
Parents
rCOMM678e0b544ba7: [web] Turn `LoginModal` into a functional component
Branches
Unknown
Tags
Unknown