Page MenuHomePhabricator

[lib][native][web] Introduce FarcasterChannelPrefetchHandler
AcceptedPublic

Authored by ashoat on Wed, Nov 20, 6:47 AM.
Tags
None
Referenced Files
F3327120: D13982.id45909.diff
Wed, Nov 20, 8:17 AM
F3327119: D13982.id45906.diff
Wed, Nov 20, 8:17 AM
F3327096: D13982.id.diff
Wed, Nov 20, 8:17 AM
F3327065: D13982.diff
Wed, Nov 20, 8:16 AM
Subscribers

Details

Reviewers
varun
will
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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage