You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-9
Original file line number
Diff line number
Diff line change
@@ -82,8 +82,11 @@ export default config;
82
82
Finally you have to add a bit of code to your entry point to activate HMR. This might be handled automatically at some point by the plugin but for now it's manual.
83
83
84
84
```ts
85
-
const rootEl =document.getElementById("app");
86
-
const dispose =render(() =>App, rootEl);
85
+
// Those two variables are mandatory if you want automatic HMR
0 commit comments