Sanity Live Cache Components

Integrates Sanity Live with Next.js Cache Components in next-sanity v13+ apps. Sets up sanityFetch, <SanityLive>, Visual Editing, Presentation Tool, draft mode handling, and the three-layer (Page/Dynamic/Cached) component pattern with explicit perspective/stega prop-drilling. Use when configuring or migrating a Next.js app to cacheComponents with Sanity, when adding sanityFetch, when wiring <SanityLive>/<VisualEditing>, or when refactoring components that hardcode perspective/stega.

equinor 1a735dd 5 files · 36.2 KB Updated

File contents

equinor/energyvision/tree/main/.github/skills/web/sanity-live-cache-components commit 1a735dd129

Frequently asked questions

npx skillmds@latest add equinor/sanity-live-cache-components