Redux Persist FS Storage provides a storage engine for Redux Persist using React Native's file system via react-native-fs. Version 1.3.0 is the latest stable release; the package is updated infrequently as needed. It supports both Redux Persist v4 and v5, offering a straightforward adapter between react-native-fs and redux-persist. Compared to alternatives like redux-persist-filesystem-storage, this library allows custom storage directories and exposes constants like CacheDir for cache paths. Requires react-native and react-native-fs to be natively linked.
npm install redux-persist-fs-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Redux Persist v5 with file system storage using default settings.
Set keyPrefix: '' in persistConfig.
Upgrade to redux-persist v5 and use persistReducer/persistStore as shown.
Run 'react-native link react-native-fs' or manually link for iOS/Android.
Use FSStorage() instead of FSStorage.
Use 'import FSStorage from 'redux-persist-fs-storage''.
Run 'react-native link react-native-fs' and ensure NativeModules.RNFS exists.
Use persistReducer as shown in the quickstart.