React Native Advanced - caching with Async Storage - Tip

In the course, Part 2, Lesson 8, Offline Support, Mosh mentions the library in React Native core is deprecated. He mentions one from the community to replace it – but that one, too, is deprecated.

This one worked for me: https://react-native-async-storage.github.io/async-storage/docs/install/

After installation, change the import statement in cache.js to:
import AsyncStorage from “@react-native-async-storage/async-storage”;