HomePhabricator
Diffusion Comm 28211ab8163a

[lib][native][web] Introduce FarcasterChannelPrefetchHandler

Description

[lib][native][web] Introduce FarcasterChannelPrefetchHandler

Summary:
This handler will make sure that we fetch all non-followed channel info in bulk, thereby reducing the total number of Neynar queries on app start.

Depends on D13981

Test Plan:

  1. In combination with other diffs, tested that channel avatars still load on both web and native
  2. Tested on both native and web by logging each NeynarClient query and seeing which ones get triggered

Reviewers: varun, will

Reviewed By: will

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D13982

Details

Provenance
ashoatAuthored on Nov 18 2024, 5:59 AM
Reviewer
will
Differential Revision
D13982: [lib][native][web] Introduce FarcasterChannelPrefetchHandler
Parents
rCOMM2be29ca39b8e: [lib] Query for channel info in bulk whenever possible
Branches
Unknown
Tags
Unknown