property CommunityFeedContextValue.watch

Says a component is showing the feed, until the returned call. The feed is fetched, and kept up to date, only while one is: most styles show it nowhere. useCommunityFeed calls it.

Type

() => () => void

Usage

import { type CommunityFeedContextValue } from "src/contexts/social/CommunityFeedContext.ts";