Restore post-thread caching behaviors (react-query refactor) (#2010)
* Rework resolve-did and resolve-uri queries to be smarter about cache reuse * Precache handle resolutions * Remove old unused code * Load placeholder threads from the post-feed and notifications-feed queries * Remove logs * Fix bad ref * Add loading spinners to the cache-loading thread view * Scroll replies into view when loading threads * Add caching within a thread * Fix: dont show bottom border when the child spinner is active
This commit is contained in:
parent
d4714baf13
commit
f580d4daf0
8 changed files with 369 additions and 111 deletions
|
@ -28,7 +28,7 @@ export function ProfileFollows({name}: {name: string}) {
|
|||
isError,
|
||||
error,
|
||||
refetch,
|
||||
} = useProfileFollowsQuery(resolvedDid?.did)
|
||||
} = useProfileFollowsQuery(resolvedDid)
|
||||
|
||||
const follows = React.useMemo(() => {
|
||||
if (data?.pages) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue