@ai-growth/nextjs
Version:
Seamlessly integrate Sanity CMS with Next.js applications for automated blog routing and rendering
9 lines (8 loc) • 583 B
JavaScript
// Custom hooks will be exported from here
// Example: export { default as useCMSContent } from './useCMSContent';
// Example: export { default as useSanityClient } from './useSanityClient';
// Content fetching hooks
export { useCmsContent, useCmsContentById, } from './useCmsContent';
export { useCmsContentList, useFeaturedContent, useRecentContent, } from './useCmsContentList';
// Enhanced CMS content hooks with advanced caching
export { useCmsContentCached, useCmsContentByIdCached, useCacheInvalidation, useCachePreloading, useCacheMonitoring, } from './useCmsContentCached';