1) bindHTMLimport { LightningElement } from 'lwc';export default class BindHTML extends LightningElement { myValue = "H E L L O ";}
🪓 예제
🔗 Decorator(https://blog.christianpelayo.com/leveraging-the-power-of-decorators-in-your-lwc-components@api : public, 컴포넌트의 속성이나 메서드를 노출 시킴. @api
Auar(Parent) - LWC(Child)Aura : myAuraComponentAura cmpcontroller.jsLWC : lwcHelloWorldhtmljs LWC : getAccountListhtmljsApex : AccountControllerApex C
🪓 예제 → 좌측 빈 부분에 컴포넌트가 삽입되어있음. js에서 @wire를 사용해서 화면에 들어가자마자 function이 실행됨. > 1) wireWithProperty html
으아아아
🔗 Session Setting(Salesfore Help)→ Lightning Web Security 체크박스 해제 : f12-소스에서 lwc 소스를 볼 수 있음→ Session Setting에서 Org 보안 관련한 설정(세션 타임아웃, 신뢰할 수 있는 도메인 등)
EP.10
EP.11
Lightning Web Components Best practices(정리중)
Design Patterns and Best Practices to build reusable Lightning Web Components