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: May 16th, 2022

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

What’s New in V2?

We’ve added lots of new features to PWA Kit v2, including:

  • 🥳 TypeScript support. The build tools now support TypeScript by default—without having to update the configuration files for Babel or Webpack.
  • 🧰 An updated development server that supports hot reloading on the server side and makes it possible to support hot reloading on the client side in a future release.
  • 🤓 An all-new command-line tool called pwa-kit-dev that bundles our recommended development tools like Webpack, Babel, and Jest to support zero-config project templates.
  • 🖌️ Experimental support for non-React apps for those users interested in using Managed Runtime to host other Express-based apps (not just the Retail React App).

See our Upgrade to v2 guide for details on how to migrate your v1 site to v2.

Full changelog v1.5.2...v2.0.0

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