Skip to content

Instantly share code, notes, and snippets.

@arun12209
Created January 15, 2023 14:23
Show Gist options
  • Save arun12209/25f0b6c5b66924143002b3fea2c434ab to your computer and use it in GitHub Desktop.
Save arun12209/25f0b6c5b66924143002b3fea2c434ab to your computer and use it in GitHub Desktop.
export default class MyComponent extends LightningElement {
@api recordId;
connectedCallback() {
this.fetchData();
}
fetchData() {
// Fetch data from the server
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment