sanity-live-cache-components

Community

Streamline Next.js + Sanity with cache-driven UI.

Authorelzafon
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solves the complexity of building a cache-first UI for Next.js apps with Sanity Live and deterministic layout caching.

Core Features & Use Cases

  • Three-layer component pattern (Page/Dynamic/Cached) with top-level draftMode resolution.
  • Explicit perspective and stega per call to ensure stable cache keys and predictable rendering.
  • Suspense-based streaming for draft content while preserving a fast static shell.

Quick Start

Integrate this pattern by resolving draftMode at the layout level and wrapping dynamic components in Suspense to stream draft content while preserving a cached static shell.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sanity-live-cache-components
Download link: https://github.com/elzafon/ziska-next/archive/main.zip#sanity-live-cache-components

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.