Page MenuHomePhabricator

[lib] Fix memoization of useRelationshipPrompt
ClosedPublic

Authored by tomek on Apr 14 2022, 11:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 4:24 AM
Unknown Object (File)
Oct 16 2024, 8:39 AM
Unknown Object (File)
Oct 16 2024, 8:39 AM
Unknown Object (File)
Oct 9 2024, 8:10 PM
Unknown Object (File)
Oct 9 2024, 8:10 PM
Unknown Object (File)
Oct 9 2024, 8:09 PM
Unknown Object (File)
Oct 9 2024, 7:50 PM
Unknown Object (File)
Oct 6 2024, 9:24 AM

Details

Summary

We were using callbacks but the return value was never memoized.
Depends on D3734

Test Plan

Send friend request by using relationship prompt and check if the state was updated.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable