React offers some benefits compared to the other popular frontend frameworks out there, including:
SFCC offers two APIs are: Open Commerce API (OCAPI) and Commerce Cloud API (CCAPI) which is in beta.
The Open Commerce API (OCAPI) is a RESTful API used by Salesforce Commerce Cloud which consists of three component APIs:
OCAPI is a fairly robust API, however if your site is still on Pipelines architecture you may have a harder time integrating your existing customizations with OCAPI. In those cases use synthetic APIs and migrate that functionality to OCAPI at a later date. CCAPI layer in beta seems promising, but it is too early to judge the extent in which it will support speedy headless storefronts.
Moovweb XDN lets you deliver your React store on SFCC in sub-seconds. The average website on Moovweb XDN sees median pages loads of 320ms, as measured by Largest Contentful Paint (LCP). But the XDN is much more than a website accelerator. It is a Jamstack platform for eCommerce. Moovweb XDN makes websites faster for users and simpler for frontend developers. The platform was built specifically for large-scale,eCommercer websites and comes with the following key benefits:
With the XDN, your React Salesforce Commerce Cloud storefront will run in sub-second speeds and your developers will be empowered to control edge caching and reduce rework using the various developer productivity tools that are part of the platform
Check out Shoe Carnival, a sub-second SFCC site running on the XDN. The shoe retailer has reduced page loads by 92%, outperforms 98% of leading websites, and increased revenue by 40% since launching on Moovweb XDN.
If you're currently using React, use the this guide to deploy your React application on Moovweb XDN and get sub-second loads in as little as 1 hour of work.