sfnext-data-fetching
Implement server-side data fetching in Storefront Next using loaders, actions, and useScapiFetcher. Use when writing loader functions, making SCAPI calls, handling form submissions, or implementing interactive data fetching. Covers synchronous loaders, streaming patterns, createApiClients, and parallel requests. NOT for client-side Zustand state — see sfnext-state-management.
Pinned to revision bee72c26e342, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sfnext-data-fetching/SKILL.md
- skills/sfnext-data-fetching/references/LOADER-PATTERNS.md
- skills/sfnext-data-fetching/references/SCAPI-FETCHER.md
Every link opens the file at its source, pinned to the revision this page describes.