DEV Community

Discussion on: Async vs Defer attribute

Collapse
 
ericbutler555 profile image
Eric Butler

Nice reminder. I've never been sure what a smart use-case is for async, it seems like defer is almost always the more appropriate choice on a webpage so the HTML can finish parsing before any JS executes.

Collapse
 
jamesta696 profile image
Jamie Smith

I've never come across a use-case where I'd use async :p