Skip to content

Commit 5d20b21

Browse files
authored
Fix wording in preloading pinned modules docs (#220)
* Fix wording in preloading pinned modules docs * Apply suggestion
1 parent f27ec14 commit 5d20b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Unpinning and removing "object-assign"
124124

125125
## Preloading pinned modules
126126

127-
To avoid the waterfall effect where the browser has to load one file after another before it can get to the deepest nested import, importmap-rails uses [modulepreload links](https://developers.google.com/web/updates/2017/12/modulepreload) by default. If you don't want to preload a dependencies, because it'you want to load it on-demand for efficiency, pinned modules can prevent preloading by appending `preload: false` to the pin.
127+
To avoid the waterfall effect where the browser has to load one file after another before it can get to the deepest nested import, importmap-rails uses [modulepreload links](https://developers.google.com/web/updates/2017/12/modulepreload) by default. If you don't want to preload a dependency, because you want to load it on-demand for efficiency, append `preload: false` to the pin.
128128

129129
Example:
130130

0 commit comments

Comments
 (0)