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)
Wed, Oct 16, 8:39 AM
Unknown Object (File)
Wed, Oct 16, 8:39 AM
Unknown Object (File)
Wed, Oct 9, 8:10 PM
Unknown Object (File)
Wed, Oct 9, 8:10 PM
Unknown Object (File)
Wed, Oct 9, 8:09 PM
Unknown Object (File)
Wed, Oct 9, 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
No Lint Coverage
Unit
No Test Coverage