feat: add persistent cache and optimistic updates

This commit is contained in:
Andrew Bastin
2021-10-05 02:09:39 +05:30
committed by liyasthomas
parent 2761894164
commit a840079119
5 changed files with 135 additions and 7 deletions

View File

@@ -87,6 +87,7 @@ const myTeams = useGQLQuery<
myRole: TeamMemberRole
ownersCount: number
members: Array<{
membershipID: string
user: {
photoURL: string | null
displayName: string
@@ -107,6 +108,7 @@ const myTeams = useGQLQuery<
myRole
ownersCount
members {
membershipID
user {
photoURL
displayName