Redux is an excellent tool for keeping track of an app's state while it it's running. But what if we have data that we need to store without using an API? For instance, we could save the state of a component so that when a user closes and reopens the app, the previous state of that component can be restored, allowing us to persist a piece of an app's persistent across sessions. Redux data persistence could also be useful for caching information to avoid calling the API more than necessary. You can refer to the Masking the application upon network connection loss recipe in Chapter 8, Working with Application Logic and Data, for more information on how to detect and handle network connectivity status.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine