Modern JavaScript for Salesforce Commerce

•
32
•

Writes optimized, platform-compliant JavaScript and TypeScript for Salesforce B2C Commerce, PWA Kit, and Lightning Web Components.

This skill provides specialized guidance for writing modern JavaScript and TypeScript within the Salesforce Commerce ecosystem. It bridges the gap between different runtime environments, handling the legacy constraints of the SFCC Rhino engine (CommonJS, synchronous execution) while maximizing the potential of modern Node.js environments for PWA Kit and browser-based Lightning Web Components (LWC). It is an essential tool for developers who need to ensure code quality, security compliance with Lightning Locker/LWS, and adherence to the latest Salesforce architectural patterns and dw.* API signatures.

주요 기능

01Secure coding patterns for Lightning Web Security (LWS) and Locker Service
02TypeScript implementation for PWA Kit and LWC development
0332 GitHub stars
04Platform-aware module system management including CommonJS and ES Modules
05Runtime-specific code generation for Rhino, Node.js, and Browser environments
06Automated verification against the latest Salesforce API documentation

사용 사례

01Refactoring legacy SFCC server-side scripts to use modern ES6 features where supported
02Building high-performance React components for PWA Kit using the Commerce SDK
03Developing secure LWC components for B2B and B2C commerce storefronts