Deco Variant Selection Perf

Optimize product variant selection in Deco TanStack storefronts. Eliminates server re-fetches when switching SKU variants of the same product using replaceState, adds loading states for cross-product variant navigation, and removes preload="intent" from variant links to prevent double-fetch. Use when variant changes are slow, HAR analysis shows duplicate loadCmsPage calls, or when implementing variant selectors in a PDP.

decocms 26d4003 9.2 KB Updated

File contents

decocms/blocks/tree/main/.cursor/skills/deco-variant-selection-perf commit 26d40035da

Frequently asked questions

npx skillmds@latest add decocms/deco-variant-selection-perf