2 ms·
HMR & code splitting weren't even original to WebPack... where does this fiction come from that it introduced them? (Side note - I have a complex app but still
by abritinthebay 10y ago
HMR & code splitting weren't even original to WebPack... where does this fiction come from that it introduced them?
(Side note - I have a complex app but still get ~1sec build times, why the fuss over HMR?)
- kentor 10y agoNot having to refresh which means preserving state. If I have a modal opened and I want to make a change to the modal UI, if I refresh I would have to reopen the modal. With HMR the modal just rerenders. Also even if you have a fast build, refreshing might require refetching data from a server. In any case browserify also has HMR and it's great.