Page MenuHomePhabricator

[lib] Introduce UserIdentityCache
ClosedPublic

Authored by ashoat on Aug 20 2024, 3:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 1:30 AM
Unknown Object (File)
Wed, Sep 25, 1:30 AM
Unknown Object (File)
Sep 9 2024, 10:16 AM
Unknown Object (File)
Sep 9 2024, 4:32 AM
Unknown Object (File)
Sep 6 2024, 11:11 AM
Unknown Object (File)
Sep 2 2024, 5:42 PM
Unknown Object (File)
Sep 1 2024, 8:06 PM
Unknown Object (File)
Aug 30 2024, 10:32 PM
Subscribers

Details

Summary

This is modelled after ENSCache and FCCache, but it's implemented as a React component since it needs access to a React context.

This addresses part of ENG-9002.

Depends on D13117

Test Plan

I deployed a release build to my iOS device with some logging inside both IdentityServiceContentProvider and UserInfosHandler. I confirmed that the latter only ever queried for users once, even though the latter queried multiple times

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable