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:

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