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)
Tue, Jul 16, 6:33 AM
Unknown Object (File)
Wed, Jul 10, 1:29 AM
Unknown Object (File)
Tue, Jul 9, 11:16 AM
Unknown Object (File)
Mon, Jul 8, 10:39 PM
Unknown Object (File)
Sat, Jun 29, 8:34 PM
Unknown Object (File)
Sat, Jun 29, 6:36 AM
Unknown Object (File)
Thu, Jun 27, 2:49 PM
Unknown Object (File)
Thu, Jun 27, 2:39 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #30995)

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 ↗(On Diff #30995)

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?