HomePhabricator
Diffusion Comm 7b538c685714

[native] Use hook instead of connect in Search

Description

[native] Use hook instead of connect in Search

Summary: I also made the search component a hook instead

Test Plan: Checked if it would still clear search on logout, and that it will only clear search when logging out. Also checked useEffect and made sure it was not being called when it unless it needed to

Reviewers: palys-swm, ashoat, atul

Reviewed By: ashoat

Subscribers: ashoat, KatPo, zrebcu411, Adrian, atul

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

Details

Provenance
subnubAuthored on Mar 4 2021, 12:15 PM
Reviewer
ashoat
Differential Revision
Restricted Differential Revision
Parents
rCOMMccd0c78c53d1: Use custom hooks to get latest threadInfo and messageListData on web
Branches
Unknown
Tags
Unknown
Reverted By
rCOMMe33030a33436: [native] Revert "Use hook instead of connect in Search"
Restricted Differential Revision