CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 25: Salesforce B2B Commerce for Developers Accredited Professional

A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API. Which lifecycle hook should the developer use to make the API call?

Nội dung câu hỏi

A developer is building a custom component in Lightning web components (LWC) that needs to fetch data from an API. Which lifecycle hook should the developer use to make the API call?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. connectedCallback — đáp án hiện tại
  2. B. errorCallback
  3. C. renderedCallback
  4. D. disconnectedCallback

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề