리액트 네이티브에서 사용 할 수 있는 key-value 형식의 저장소이다.
npm에서 Asyncstorage 설치
npm install @react-native-async-storage/async-storage
asyncstorage에 값을 getter/setter 하는법 예시
import AsyncStorage from "@react-native-async-storage/async-storage";
await AsyncStorage.setItem("category", cat);
const ex = await AsyncStorage.getItem("category")
[사용법]