HomePhabricator
Diffusion Comm 716319a400ea

[native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`

Description

[native] Replace listDataSelector with useMemo in ChatThreadList

Summary:
This diff is just one step in the process of converting ChatThreadList into a functional component. When this work is done, we will be able to avoid a lot of re-rendering and hopefully improve performance quite a bit.


Depends on D9173

Test Plan: ChatThreadList + search experience continue to work as expected.

Reviewers: ginsu, ashoat, tomek, rohan

Reviewed By: ginsu, ashoat

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

Details

Provenance
atulAuthored on Sep 12 2023, 5:10 PM
Reviewer
ginsu
Differential Revision
D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList`
Parents
rCOMMae6086fcf3f9: [native] Lift `renderItem` to `ConnectedChatThreadList`
Branches
Unknown
Tags
Unknown