While creating apps with reactJS we need to persist the redux state data, because the store gets reinitialized when the browser is refreshed. Is this scenario applicable while creating mobile apps? I mean the mobile apps cannot be refreshed right?
So, while creating mobile apps with react native we need not have to bother about persisting the data fearing that the app will be refreshed? Please correct me if I'am wrong
Just like on desktop applications, your application can be closed, the device can restart, etc, and everything not persisted goes away.
You should store anything you don't want to lose in AsyncStorage or similar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With