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: July 5, 2022
Why: Each change has a numbered link to the relevant pull request in the open-source repository.
Featured Change: Hot Reloading (Client Side)
See your changes as soon as you make them! Hot reloading now works on the client side as well as the server side, thanks to hot module replacement.
A page reload is still required when:
- Adding syntactically invalid changes.
- Adding a new
loadablepage. - Updating a
getPropsfunction.
Changes pwa-kit-dev
- Replace
Mobifyreferences/links with proper PWA Kit values. #619 - Add support for a custom build directory to
pwa-kit-dev build. #628 - Introduce client-side hot module replacement. #630
Changes to pwa-kit-react-sdk
- Remove console logs from route component. #651
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.