As part of converting ChatThreadList to a functional component we'll need to replace the scrollPos instance variable with a ref.
Depends on D9135
Differential D9136
[native] Replace `scrollPos` instance variable w/ ref atul on Sep 11 2023, 3:51 PM. Authored by Tags None Referenced Files
Subscribers None
Details As part of converting ChatThreadList to a functional component we'll need to replace the scrollPos instance variable with a ref. Depends on D9135 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:
Diff Detail
|