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

前端 未结 6 867
孤城傲影
孤城傲影 2020-12-04 05:05

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 th

6条回答
  •  既然无缘
    2020-12-04 05:43

    Hot Reload

    1. Hot reload just effects only on the changed code (Same page/ Class).
    2. Maintain state.

    Live Reload

    1. It Reload whole application on change in the code. More useful for navigation changes and parent class changes.
    2. Do not maintain previous state.

提交回复
热议问题