rsnext/packages/next/client/dev/error-overlay
Alex Kirszenberg 7bbc1aec9a
Aggregate updates using addStatusHandler and Promise.resolve instead of setTimeout (#42350)
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.
2022-11-07 21:06:18 +00:00
..
format-webpack-messages.d.ts improve production error message printing (#30065) 2021-10-20 18:23:44 -05:00
format-webpack-messages.js Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
hot-dev-client.js Aggregate updates using addStatusHandler and Promise.resolve instead of setTimeout (#42350) 2022-11-07 21:06:18 +00:00
websocket.ts Enable @typescript-eslint/no-use-before-define for functions (#39602) 2022-08-15 10:29:51 -04:00