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)
Sun, Nov 3, 4:43 AM
Unknown Object (File)
Sun, Oct 27, 5:42 PM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Unknown Object (File)
Oct 19 2024, 2:14 AM
Unknown Object (File)
Oct 19 2024, 2:07 AM
Unknown Object (File)
Oct 18 2024, 7:46 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 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.