Skip to content

Commit 6acc60f

Browse files
Update README.md
1 parent 5c53627 commit 6acc60f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,31 +96,31 @@ _Note: if no speed prop (i.e. `slow`, `medium` or `fast`) is specified, the comp
9696

9797
## 🧪 Common examples
9898

99-
Load and render a heavy image only when on a fast connection (`4g`):
99+
Load and render a heavy image only when on a fast connection:
100100

101101
```
102102
<connection-aware fast>
103103
<img src="url to quite a heavy gif" crossorigin="anonymous" />
104104
</connection-aware>
105105
```
106106

107-
Show a div when on a medium or fast connection (`3g` or `4g`):
107+
Show a div when on a medium or fast connection:
108108

109109
```
110110
<connection-aware medium fast>
111111
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc placerat, velit sit amet dapibus finibus, sapien nunc commodo risus, eget luctus tortor eros eu risus. Phasellus molestie tincidunt est ac egestas</div>
112112
</connection-aware>
113113
```
114114

115-
Warn the user their connection is slow (`2g` or `slow-2g`):
115+
Warn the user their connection is slow:
116116

117117
```
118118
<connection-aware slow>
119119
<div>Oops! Your connection seems to be quite slow at the moment.</div>
120120
</connection-aware>
121121
```
122122

123-
Show a div when on a medium or fast connection (`3g` or `4g`) but don't destroy it if the connection slows down (to `2g` or `slow-2g`):
123+
Show a div when on a medium or fast connection but don't destroy it if the connection slows down:
124124

125125
```
126126
<connection-aware medium fast :reactive="false">

0 commit comments

Comments
 (0)