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. |
||
---|---|---|
.. | ||
internal | ||
hot-reloader-client.tsx |