Skip to content

Commit d51187f

Browse files
committed
Add note about hotOptions defaults
1 parent c43bd53 commit d51187f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ module.exports = {
214214
emitCss: false,
215215
// Enable HMR only for dev mode
216216
hotReload: true, // Default: false
217-
// Extra HMR options
217+
// Extra HMR options, the defaults are completely fine
218+
// You can safely omit hotOptions altogether
218219
hotOptions: {
219220
// Prevent preserving local component state
220221
preserveLocalState: false,

0 commit comments

Comments
 (0)