Skip to content

docs: correct grammar #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/content/api/hot-module-replacement.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.hot.decline(
);
```

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.
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.

### `decline` (self)

Expand All @@ -75,7 +75,7 @@ Reject updates for itself.
module.hot.decline();
```

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.
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.

### `dispose` (or `addDisposeHandler`)

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


Expand Down