st
豆苗しか記憶に残らない
[Pixel3を使ってみた感想を書いてみる|けんすう]( https://kensuu.com/n/n0446e4b766b5 )
WebpackのHot Module Replacement、ドキュメントのコード実行しても結局ブラウザをリロードしないと変更が反映されない…こんなものなのか???
@kkamiyama テンプレートエンジンとかは特に(まだ)設定とかはしてないんですよね…
もうちょいドキュメントと格闘して、それでも分からなかったらここに正確に書いてみます
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
このアカウントは、notestockで公開設定になっていません。
普通にこれじゃんになった
```
Hot Module Replacement can be tricky. To show this, let's go back to our working example. If you go ahead and click the button on the example page, you will realize the console is printing the old printMe function.
This is happening because the button's onclick event handler is still bound to the original printMe function.
To make this work with HMR we need to update that binding to the new printMe function using module.hot.accept:
```
https://webpack.js.org/guides/hot-module-replacement/#gotchas