← All questions
LWCMedium
renderedCallback pitfall
You put one-time DOM initialization code in renderedCallback() and notice it runs repeatedly. Why, and what's the standard fix?
You put one-time DOM initialization code in renderedCallback() and notice it runs repeatedly. Why, and what's the standard fix?