property UseFeedCacheResult.cached

It holds the saved feed when the page was reached by going back or forward and the feed was saved less than 10 minutes ago. It changes only with the key.

Type

Omit<FeedCacheEntry<T>, "savedAt"> | null

Usage

import { type UseFeedCacheResult } from "src/hooks/feed/useFeedCache.ts";