Page MenuHomePhabricator

[native] Lift `onScroll` to `ConnectedChatThreadList`
ClosedPublic

Authored by atul on Sep 12 2023, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 7:55 PM
Unknown Object (File)
Wed, Nov 20, 5:37 PM
Unknown Object (File)
Mon, Nov 11, 11:44 PM
Unknown Object (File)
Mon, Nov 4, 10:51 PM
Unknown Object (File)
Oct 27 2024, 5:42 PM
Unknown Object (File)
Oct 25 2024, 9:22 AM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Subscribers

Details

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 D9136

Test Plan

ChatThreadList + search experience continue to work as expected.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Sep 12 2023, 2:07 PM

please see inline comment before landing

native/chat/chat-thread-list.react.js
129

I think this should be mixed

This revision is now accepted and ready to land.Sep 12 2023, 9:37 PM
native/chat/chat-thread-list.react.js
129

That's fair.

In a couple diffs though I completely remove these props after merging everything into a single component, so I think it's fine to leave as-is for now since this is temporary?