@rnhooks/异步存储
用于 AsyncStorage 的 React Native 钩子
import useAsyncStorage from '@rnhooks/async-storage';
function App() {
const [storageItem, updateStorageItem, clearStorageItem] = useAsyncStorage(
key,
);
return (
{`Storage Value: ${storageItem}`}
<Button
title="Update Item"
onPress={() => up
1