Gives a component the community feed, by reading CommunityFeedContext.
f
useCommunityFeed(): CommunityFeed | null
Returns the community feed, kept up to date for as long as the component is
mounted, or null until it is loaded and for a visitor. The CommunityFeed
component renders it. Needs CommunityFeedProvider above, which App
mounts around every page.
Usage
import * as mod from "src/hooks/social/useCommunityFeed.ts";