Architect custom React storefront consuming Commerce Cloud SCAPI
Real World Scenario
Engineering rebuilds flagship.com in Next.js React while retaining Salesforce B2C Commerce for basket, pricing, and checkout. SEO and Core Web Vitals are board-level KPIs.
Expected Answer
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Main difference: use case and scale. Separate React app concerns: SSR for PLP/PDP SEO, client hydration for interactive cart. Use SLAS for shopper auth with secure token storage and refresh in httpOnly cookies where possible. Pick based on your integration pattern and team capability. React headless succeeds with BFF boundary—never expose all SCAPI complexity and secrets directly to browser bundles. Document the decision in an ADR and align with enterprise standards.
Architect Perspective
React headless succeeds with BFF boundary—never expose all SCAPI complexity and secrets directly to browser bundles.