Rewrite of Service Components Framework (Aura) but with Lightning Web Components (LWC). This repository includes all my previous Service Components for easy side-by-side comparison.
SFDX CLI and VSCode has matured enough for general usage so I will be moving my repo to SFDX format only.
For VSCode and SFDX setup see steps (1 and 2) from the official lwc-recipes repo. Once you have the SFDX CLI set up and Authed into a Dev Hub you can then:
- Open VSCode, then open terminal with
ctrl+`then clone lwc-utils.
git clone https://github.com/tsalb/lwc-utils
-
Use Command Palette to
SFDX: Create a Default Scratch Org. -
Use Command Palette to
SFDX: Push Source to Default Scratch Org. -
Use Command Pellete to
SFDX: Open Default Org.
Coming later (maybe)...
See Readme for any Aura component usage.
Two samples:
- An
@wirechild template component fed by a reactive attribute that emits events on success/error. - An imperative callout using
async awaitthat uses promises in the returning tableResults.
Parent relationships (1 level up) are working okay. It's safer to use formulas still, for now.