2
votes
Accepted
I am new to LWC. I dont want to show alert message every time i refresh account detail page
Everytime the page is refreshed, the component goes through its lifecycle flow, so the wire method runs and if those conditions are met it will show the alert.
In order to avoid this, you must set a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-experience × 1874lightning-aura-components × 883
lightning × 873
lightning-apps × 210
lightning-design-system × 205
lightning-web-components × 195
visualforce × 173
apex × 115
javascript × 71
community × 69
salesforce1-app × 52
salesforce-classic × 45
lightning-community × 43
page-layout × 41
quickaction × 36
aura × 34
custom-button × 30
salesforcedx × 26
css × 24
list-view × 23
visual-workflow × 21
email × 20
slds × 20
reporting × 19
activities × 19