Shubham1164
Shubham1164

Reputation: 357

Why react-native app restarts when hot reloads (changes saved in hot reloading mode)?

I am working on react-native (0.57) app on IOS platform. When I save code changes in the code editor (hot reloading enabled), IOS app restarts whereas in Android it's working fine. In Android, it only updates that page and don't restarts. It is normal behaviour for IOS or I may be doing something wrong?

I have tested this on real physical devices. IOS (iphone-5s), Android (MI 3s prime)

Upvotes: 0

Views: 591

Answers (1)

Daniel Selvan
Daniel Selvan

Reputation: 1129

It's completely normal for an iOS app to restart on updation.

Android has instant app support which enable it to just reload the changes without quitting the app, whereas the iOS doesn't have any such options available yet, it has to reload the entire app

So don't bother about it and enjoy coding.

Upvotes: 2

Related Questions