Skip to content

Commit 31a8a90

Browse files
authored
Merge pull request #1 from bhavya9107/patch-4
docs: correct grammar
2 parents b65eb4f + 09f8d04 commit 31a8a90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/api/hot-module-replacement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.hot.decline(
6666
);
6767
```
6868

69-
Flag a dependency as not-update-able. This makes sense when changing exports of this dependency can be handled or handling is not implemented yet. Depending on your HMR management code an update to this dependencies (or unaccepted dependencies of it) usually causes a full-reload of the page.
69+
Flag a dependency as not-update-able. This makes sense when changing exports of this dependency can be handled or handling is not implemented yet. Depending on your HMR management code an update to these dependencies (or unaccepted dependencies of it) usually causes a full-reload of the page.
7070

7171
### `decline` (self)
7272

@@ -76,7 +76,7 @@ Reject updates for itself.
7676
module.hot.decline();
7777
```
7878

79-
Flag this module as not-update-able. This make sense when this module has inrevertable side-effects, or HMR handling is not implemented for this module yet. Depending on your HMR management code an update to this module (or unaccepted dependencies) usually causes a full-reload of the page.
79+
Flag this module as not-update-able. This makes sense when this module has irreversible side-effects, or HMR handling is not implemented for this module yet. Depending on your HMR management code an update to this module (or unaccepted dependencies) usually causes a full-reload of the page.
8080

8181
### `dispose` (or `addDisposeHandler`)
8282

@@ -115,7 +115,7 @@ module.hot.status(); // Will return one of the following strings...
115115
| ready | The update is prepared and available |
116116
| dispose | The process is calling the `dispose` handlers on the modules that will be replaced |
117117
| apply | The process is calling the `accept` handlers and re-executing self-accepted modules |
118-
| abort | An update was aborted, but the system is still in it's previous state |
118+
| abort | An update was aborted, but the system is still in its previous state |
119119
| fail | An update has thrown an exception and the system's state has been compromised |
120120

121121

0 commit comments

Comments
 (0)