useFollowedShops
The useFollowedShops hook fetches the collection of shops the user follows in the Shop app. Use this to display followed brands, create quick-access shop lists, show follow status in UI, or build social commerce features. Pair with useFollowedShopsActions() to manage follow/unfollow operations.
Anchor to useFollowedShops-parametersParameters
- Anchor to paramsparamsparamsUseFollowedShopsParamsUseFollowedShopsParams
UseFollowedShopsReturnsUseFollowedShopsReturns
UseFollowedShopsParams
- fetchPolicy
DataHookFetchPolicy - first
number - skip
boolean
DataHookFetchPolicy
'cache-first' | 'network-only'UseFollowedShopsReturns
- error
Error | null - fetchMore
() => Promise<void> - hasNextPage
boolean - loading
boolean - refetch
() => Promise<void> - shops
The followed shops returned from the query.
Shop[] | null
Shop
- id
string - isFollowing
boolean | null - logoImage
ProductImage | null - name
string - primaryDomain
{ url: string; } - reviewAnalytics
{ averageRating?: number; reviewCount: number; } - shareUrl
string | null - visualTheme
VisualTheme | null
ProductImage
- altText
string | null - height
number | null - id
string | null - sensitive
boolean | null - thumbhash
string | null - url
string - width
number | null
VisualTheme
- brandSettings
BrandSettings | null - description
string | null - featuredImages
ImageType[] - id
string - logoImage
ImageType | null
BrandSettings
- colors
ColorTheme | null - headerTheme
HeaderTheme | null - id
string - logos
LogoTheme | null
ColorTheme
- coverDominant
string | null - id
string - logoAverage
string | null - logoDominant
string | null - primary
string | null - secondary
string | null - secondaryText
string | null - statusBarStyle
string | null
HeaderTheme
- coverImage
ImageType | null - endingScrimColor
string | null - id
string - startingScrimColor
string | null - thumbnailImage
ImageType | null - videoUrl
string | null - wordmark
ImageType | null
ImageType
- altText
string | null - height
number | null - sensitive
boolean - thumbhash
string | null - url
string - width
number | null
LogoTheme
- id
string - logoImage
ImageType | null
Was this page helpful?