Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.17 KB

fast-refresh.md

File metadata and controls

13 lines (9 loc) · 1.17 KB

Fast Refresh

Fast Refresh is a new React feature that immediately rerenders components when you make changes to your code in an editor. With Fast Refresh, your browser view updates without losing component state, which leads to a better developer experience.

Fast Refresh is a new iteration on hot reloading. Hot reloading was intended to have similar benefits, but it didn't work well with functional components and hooks. It also didn't handle errors well, so you'd have to restart your app after making a typo. Fast Refresh improves on those shortcomings.

Resources