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.

salesforcecommercecloud 3ab41b1 3 files · 12.5 KB Updated

File contents

salesforcecommercecloud/b2c-developer-tooling/tree/main/skills/storefront-next/skills/sfnext-data-fetching commit 3ab41b1cee

Frequently asked questions

npx skillmds@latest add salesforcecommercecloud/sfnext-data-fetching