Page MenuHomePhabricator

[lib] Replace `threadInChatList` with `useThreadInChatList` in `useWatchThread`
ClosedPublic

Authored by atul on May 9 2024, 5:58 PM.
Tags
None
Referenced Files
F3388255: D11981.id40245.diff
Fri, Nov 29, 1:22 PM
Unknown Object (File)
Tue, Nov 26, 3:49 AM
Unknown Object (File)
Tue, Nov 26, 3:34 AM
Unknown Object (File)
Tue, Nov 26, 1:22 AM
Unknown Object (File)
Thu, Nov 21, 2:21 AM
Unknown Object (File)
Thu, Nov 21, 2:21 AM
Unknown Object (File)
Fri, Nov 15, 4:58 AM
Unknown Object (File)
Sun, Nov 10, 11:41 AM
Subscribers
None

Details

Summary

Similar to rest of stack, but for useWatchThread.


Depends on D11980

Test Plan

flow + close reading

Set log statements in useWatchThread and ensured that values before and after were identical.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.May 9 2024, 6:01 PM
tomek added inline comments.
lib/shared/thread-utils.js
1299–1318 ↗(On Diff #40045)

We usually prefer to call hooks top level, without modifying their result

This revision is now accepted and ready to land.May 10 2024, 3:48 AM