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: January 6, 2023

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

Featured Change: New Preview of commerce-sdk-react Library

A new 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

  • Add instanceType to Einstein activity body #858.
  • Do not use a proxy to call Einstein #857.

Changes to pwa-kit-dev

  • Logging cid from res header instead of req in local development #821.

Changes to pwa-kit-react-sdk

  • Replace morgan stream to use console.log #847.
  • Do not use a proxy to call Einstein #857.
  • Reuse server correlation ID when hydrating error pages #846.

Changes to pwa-kit-runtime

  • Logging cid from res header instead of req in local development #821.
  • Replace morgan stream to use console.log #847.

Changes to template-retail-react-app

  • Add instanceType to Einstein activity body #858.
  • Do not use a proxy to call Einstein #857.
  • Einstein handle variants #867.
  • Fix cc exp year #874.

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.