7bbc1aec9a
The current `setTimeout` logic adds a constant overhead of 30ms when applying updates, which slows down HMR. As @sokra suggested, we can use the `addStatusHandler` API to have the HMR runtime let us know when its status changes. This also switches to `Promise.resolve` for update aggregation. |
||
---|---|---|
.. | ||
error-overlay | ||
amp-dev.js | ||
dev-build-watcher.js | ||
fouc.ts | ||
on-demand-entries-client.js | ||
webpack-hot-middleware-client.js |