Getting started
ποΈ Installation
yarn add @colorfy-software/zfynpm install @colorfy-software/zfynpx expo install @colorfy-software/zfyπΊ Features
π» Usage
import {
PersistGate,
createStore,
initStores,
useRehydrate,
} from '@colorfy-software/zfy'
import AsyncStorage from '@react-native-async-storage/async-storage'
const simpleStore = createStore('groceries', ['kimchi', 'bok choy', 'tteokbokki' ])
const persistedStore = createStore(
'user',
{ firstName: 'Jolyne' },
{ persist: { getStorage: () => AsyncStorage } },
)π« Acknowledgments
Last updated