deco-variant-selection-perf
OfficialInstant variant switching for Deco storefronts.
Authordecocms
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamlines variant navigation on Deco TanStack storefronts by eliminating server re-fetches when switching SKUs of the same product, and by preventing double-fetches caused by hover prefetch and click navigation.
Core Features & Use Cases
- Zero-fetch same-product variant updates via URL state replacement.
- Cross-product variant navigation with loading indicators to keep UI responsive.
- Removal of preload on variant links to prevent duplicate server calls.
- No reliance on skuId in URL for variant data; all data is pre-resolved.
Quick Start
Implement zero-fetch same-product variant switching by replacing the variant links with a client-side URL update using replaceState.
Dependency Matrix
Required Modules
None requiredComponents
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: deco-variant-selection-perf Download link: https://github.com/decocms/deco-start/archive/main.zip#deco-variant-selection-perf Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.