HomePhabricator
Diffusion Comm 165d35ab1a3f

[lib/web/native] Convert getMentionTypeaheadUserSuggestions into a hook

Description

[lib/web/native] Convert getMentionTypeaheadUserSuggestions into a hook

Summary:
This is some feedback provided in https://phab.comm.dev/D10387#inline-63506. This diff converts getMentionTypeaheadUserSuggestions into a hook that is consumed in both web and native.

Addressess ENG-6278

Depends on D10407

Test Plan: Made sure the @ mentioning for users and chats still looked fine, nothing seemed slow or out of place. Also opened up the Chrome console to make sure no React warnings were appearing.

Reviewers: atul, ginsu, inka

Reviewed By: atul

Subscribers: ashoat, tomek

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

Details

Provenance
rohanAuthored on Dec 21 2023, 1:35 PM
Reviewer
atul
Differential Revision
D10432: [lib/web/native] Convert getMentionTypeaheadUserSuggestions into a hook
Parents
rCOMMaf4437e04876: [keyserver] Update sendPushNotif to detect mention for a ENS name
Branches
Unknown
Tags
Unknown