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

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

    The difference between the two is, Live Reloading is gonna reload your entire application. It's just gonna be like, okay, the file changed, reload the entire app. Hot Reloading is not gonna reload your entire application. It's just going to patch the code that was changed and keep the state in your app.

提交回复
热议问题