Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created January 21, 2023 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arun12209/aedacac90d131eb4858987b6a050c76d to your computer and use it in GitHub Desktop.
Save arun12209/aedacac90d131eb4858987b6a050c76d to your computer and use it in GitHub Desktop.
import { LightningElement, wire } from 'lwc';
import getAccounts from '@salesforce/apex/AccountController.getAccounts';
export default class AccountList extends LightningElement {
@wire(getAccounts) accounts;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment