SolidJSS
SolidJSโ€ข3y agoโ€ข
2 replies
fragerdaz

onMount() vs addEventListener('DOMContentLoaded')

Is there a best practice (and why) or differences/pros/cons of either means of listening for the DOM to be loaded?
Was this page helpful?