React Fast Refresh is coming to the web!
Hot reloading that *preserves* component state
Better recovery from runtime errors
Supports Hooks & function components
To learn more see:
https://github.com/facebook/create-react-app/pull/8582 …
https://github.com/pmmmwh/react-refresh-webpack-plugin …https://twitter.com/timneutkens/status/1251942933953228802 …
...and all of that is on top of the huge piles of 1:1 guidance we give teams who find themselves in the unfortunate position of having adopted tools that have put them in a bad spot in the first place (something I personally spend a great deal of time on).
-
-
But the point here is that there's an identify function between page-reload-for-state and something-something-hot-reload-for-state. They're semantically identical. That you're now skipping the path users traverse more often puts you *further out of touch* with the lived UX.
-
And the thing our tools should be spending all their time working to create is a higher-fidelity representations of the lived experience. To the extent they put us in a privilege bubble, they're Doing It Wrong (TM).
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.
Amazing work by

(this is also about maintaining state not reload perf)