Build Modern Shopping Experiences with PWA Kit

The Progressive Web App (PWA) Kit is a new storefront technology for headless commerce using Salesforce Commerce APIs and React. It provides front-end developers with a more flexible and agile approach to build and maintain modern shopping experiences. This release focuses on localization updates and improvements related to SEO, performance, and shopper experience.

Where: Available to all Salesforce B2C Commerce customers.

When: December 1, 2022

Why: Each change has a numbered link to the relevant pull request in the open-source repository.

Featured Change: Preview of commerce-sdk-react Library

A preview release of commerce-sdk-react is now available on npm.

The new commerce-sdk-react library includes ready-made React hooks for fetching data from B2C Commerce.

For more information on how to use commerce-sdk-react, see the README.

Changes to pwa-kit-create-app

  • Update instanceUrl on retail-react-app-demo preset. #799
  • Update usage of zzrf-001 in ODS instances to the new short URL format. #816

Changes to pwa-kit-dev

  • Add tail-logs command. #789
  • Upgrade minimatch. #793

Changes to pwa-kit-react-sdk

  • Fix useServerContext returning isServerSide=false when on server. #782
  • Upgrade minimatch. #793

Changes to template-retail-react-app

  • Dynamic footer copyright date. #741
  • Footer copyright: remove the remaining hardcoded year. #760
  • ImageGallery uses image.link when DIS is not set. #786
  • Use default locale as target if none is specified. #788
  • Password change bug fix. #803
  • Add command for tailing logs to pwa-kit-dev. #789
  • Update usage of zzrf-001 in ODS instances to the new short URL format. #816

Full Changelog

How: The PWA Kit is available as an open-source project on GitHub. To get started, see the documentation on the Salesforce Developers site.