3 ms·
> Also if your JS modifies the DOM tree shouldn't > it arrive earlier so as to prevent reflows and such? And what will it modify, if DOM has not arrived yet?
by rimantas 15y ago
> Also if your JS modifies the DOM tree shouldn't
> it arrive earlier so as to prevent reflows and such?
And what will it modify, if DOM has not arrived yet?
Javascript on top can block other components from loading, hence the recommendation.