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

前端 未结 6 864
孤城傲影
孤城傲影 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:28

    While developing React-Native app you need to view your code changes and for viewing code changes there is two options in React-Native.

    1. Hot Reload

      Hot reload just displays the code changes according to new code changes without restarting the app from start and it effects only on the changed code.

    2. Live Reload

      Sometimes we might need Live Reload to test our code like navigation so Live reload is helpful in that case so it will reloads the whole application on change in the code.

提交回复
热议问题