Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Salesforce Lightning Web Components: Unsupported Imports from the 'lwc' Module Will Be Restricted in Future Releases

게시 일자: Oct 12, 2026
상세 설명

Salesforce identified that some Lightning Web Components (LWC) are using unsupported imports from the 'lwc' module. While some of these imports historically worked due to accidental platform behavior, they are not officially supported for deployed platform components.

솔루션

This article explains which imports from the "lwc" module are officially supported in Salesforce Lightning Web Components, and what to do if your components use imports that may be restricted in future releases.

Supported vs. Unsupported Imports

The only officially supported imports from 'lwc' for deployed platform components are LightningElement, api, track, wire, and unwrap, as shown in this statement:

import { LightningElement, api, track, wire, unwrap } from 'lwc';

Any other imports from 'lwc' should be considered unsupported and may be restricted in future releases. For example, importing createElement from 'lwc' is an unsupported usage, as shown in this statement:

import { createElement } from 'lwc';

Recommended Actions

Customers are strongly encouraged to review and update their Lightning Web Components to ensure they only use officially supported imports from "lwc". Recommended actions include:

  • Remove unsupported imports from components.
  • Refactor components to align with supported LWC APIs.
  • Avoid relying on undocumented or accidental platform behavior.

Although some unsupported imports are temporarily permitted, this should not be treated as long-term supported behavior.

Knowledge 기사 번호

005385014

 
로드 중
Salesforce Help | Article