Page MenuHomePhabricator

[native] Replace `scrollPos` instance variable w/ ref
ClosedPublic

Authored by atul on Sep 11 2023, 3:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 2:24 PM
Unknown Object (File)
Oct 27 2024, 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:07 AM
Unknown Object (File)
Oct 13 2024, 10:20 PM
Unknown Object (File)
Oct 8 2024, 10:01 PM
Subscribers
None

Details

Summary

As part of converting ChatThreadList to a functional component we'll need to replace the scrollPos instance variable with a ref.


Depends on D9135

Test Plan

Things seem to continue to work as expected. Haven't used useRef a whole lot, so would be good to get feedback from reviewers w/ more familiarity.

Logging values seems to result in correct values:

ff537d.png (562×1 px, 380 KB)

Diff Detail

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