Skip to content

Commit ecbbae7

Browse files
Update hot-module-replacement.md
2 parents 5dbbca5 + 9e6cfd3 commit ecbbae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ T> 如果你在 [使用 `webpack-dev-middleware`](/guides/development#using-webp
171171

172172
这是因为按钮的 `onclick` 事件仍然绑定在旧的 `printMe` 函数上。
173173

174-
为了让它与 HRM 正常工作,我们需要使用 `module.hot.accept` 更新绑定到新的 `printMe` 函数上:
174+
为了让它与 HMR 正常工作,我们需要使用 `module.hot.accept` 更新绑定到新的 `printMe` 函数上:
175175

176176
__index.js__
177177

0 commit comments

Comments
 (0)