Skip to content

Commit 7a0fbdb

Browse files
authored
Update article.md
Take 2 on 'There should be "loading" indications...." line.
1 parent 09d2e96 commit 7a0fbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/5-loading/02-script-async-defer/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Please note that if you're using `defer`, then the page is visible *before* the
191191
192192
So the user may read the page, but some graphical components are probably not ready yet.
193193
194-
There should be "loading" indications in the proper places, and not-working buttons should be visually disabled, to clearly show the user what's ready and what's not.
194+
There should be "loading" indications in the proper places, and disabled buttons should show as such, so the user can clearly see what's ready and what's not.
195195
```
196196

197197
In practice, `defer` is used for scripts that need the whole DOM and/or their relative execution order is important. And `async` is used for independent scripts, like counters or ads. And their relative execution order does not matter.

0 commit comments

Comments
 (0)