Page MenuHomePhabricator

[native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`
ClosedPublic

Authored by atul on Sep 12 2023, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 31, 4:41 AM
Unknown Object (File)
Thu, Aug 29, 6:04 PM
Unknown Object (File)
Thu, Aug 29, 11:43 AM
Unknown Object (File)
Thu, Aug 29, 12:10 AM
Unknown Object (File)
Mon, Aug 26, 7:38 PM
Unknown Object (File)
Sun, Aug 25, 8:59 AM
Unknown Object (File)
Sun, Aug 25, 7:23 AM
Unknown Object (File)
Aug 6 2024, 9:42 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 D9161

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 comments before landing

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

mixed

131

mixed

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

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?

This revision was landed with ongoing or failed builds.Sep 13 2023, 8:23 AM
This revision was automatically updated to reflect the committed changes.