Closed
Description
After making some tweaks and introducing a type in a component name
<ComponentThatDoNotExistDefinataly />
So we have compilation error. And fixing that typo leads to full page reload.
But wouldn't that be nice, if we could reject that hot-update-patch and swap it only if compilation succeeded? Or use another approach but the aim is to prevent page from reloading after fixing that typo.
Activity
[-]Dismiss full page reload after compile errors[/-][+]Dismiss full page reload after fixing compile errors[/+]gaearon commentedon May 18, 2017
Want to make a proof of concept?
As I wrote in gaearon/react-hot-boilerplate#97 (comment), for me personally one of the goals of this project is to make a stable hot reloading experience part of React by default.
Syntax and runtime overlays are a necessary first step, and I’m excited to move beyond them and make the experience better now that more pieces are in place.
RohovDmytro commentedon May 21, 2017
create-react-app
made me to forget about all the inner part of webpack and other stuff 😕 Not sure I will have enough time to digg into. But I will surely help with testing stuff, because I am very excited about HMR too and it make my workflow so much better.Timer commentedon Sep 29, 2017
I believe a concept for this is up in #2304, I'll close this for now. 😄