Answer the question
In order to leave comments, you need to log in
Should I use Depricate AsyncStorage for react-native or is it better to use the new AsyncStorage?
I am writing an application using react-native + Expo.
The new AsyncStorage from the @react-native-community/async-storage package throws errors when working with expo. If you use AsyncStorage from react-native, then there are no errors.
If I use the old AsyncStorage from react-native, what problems will I face?
Answer the question
In order to leave comments, you need to log in
You just have to understand that AsyncStorage from react-native is no longer supported. This means that if there is currently a bug in the package, it will be fixed in @react-native-community/async-storage. But if you are going to use 2 functions: put, and get it, then I think there will be nothing to worry about. Even more, if one day you decide to install @react-native-community/async-storage, then the functions are backwards compatible so your application should not feel the replacement of the package.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question