How are Hot Reloading and Live Reloading in React Native different?

Technology CommunityCategory: React NativeHow are Hot Reloading and Live Reloading in React Native different?
VietMX Staff asked 3 years ago
  • 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.