Skip to content

Commit 520b49c

Browse files
committed
Clarification.
1 parent 6309a9e commit 520b49c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

site/public/api/changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ If you change `c.js`, *two* module invalidation events would be emitted:
1616
1. Because `b.js` directly imports (depends on) it
1717
2. Because `a.js` directly imports (depends on) it
1818

19-
Now changing `c.js` will only emits *one* module invalidation event.
19+
Now changing `c.js` will only emit *one* module invalidation event.
2020

2121
This means you can safely call one-time cleanup functions in the `onModuleInvalidated` callback.
2222

2323
Of course, if you re-execute `a.js` (e.g. `import("a.js")`) then it will start all over again,
24-
and you will get another module invalidation event for `c.js` when it changes, but still only one.
24+
and you will get another module invalidation event for `c.js` when `c.js` changes, but still only one.
2525

2626
## 2.0.0
2727

site/template/core.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,5 @@ export function Sidebar(data: { toc: string }) {
102102
</>
103103
}
104104

105-
106105
</div>
107106
}

0 commit comments

Comments
 (0)