Expo v35 での AsyncStorage has been extracted の Warning について
Published: 2019/11/4
症状
Expo v35.0.0 で開発している際に、以下のようなエラーが出た。
Warning: Async Storage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. See https://github.com/react-native-community/react-native-async-storage
現時点(2019/11/04) でのexpo チームのスタンス
docs: Update AsyncStorage, now deprecated by cruzach · Pull Request #4209 · expo/expo
Why Close #4117
github.com
例えば上記を見ると、「Closing bc we still recommend this.」と記述してある。
[docs] Deprecated AsyncStorage usage in docks · Issue #4117 · expo/expo
Async storage is now deprecated as mention in react native docks. But expo documentation doesn't mention this.
github.com
また、上記を見てみると、将来的にサポートする予定ではあるが、今現在にそれに対するチケットなどは上がっていない、と書いてある。
結論
Warning は出るものとして諦めるのが正しそう。