What is the difference between Hot Reloading and Live Reloading in React Native?

Raman Choudhary picture Raman Choudhary · Jan 2, 2017 · Viewed 65.2k times · Source

I'm a bit confused here. When I'm debugging a React Native Application, I usually enable both Hot Reloading and Live Reloading. I want to know what is the difference between them?

Answer

Nader Dabit picture Nader Dabit · Jan 2, 2017

Live reloading reloads or refreshes the entire app when a file changes. For example, if you were four links deep into your navigation and saved a change, live reloading would restart the app and load the app back to the initial route.

Hot reloading only refreshes the files that were changed without losing the state of the app. For example, if you were four links deep into your navigation and saved a change to some styling, the state would not change, but the new styles would appear on the page without having to navigate back to the page you are on because you would still be on the same page.