react-native-localstorage-polyfill
v0.1.1
Published
Adds polyfill for localstorage using async storage
Readme
react-native-localstorage-polyfill
Adds polyfill for localstorage using async storage
Installation
npm install react-native-localstorage-polyfillInstall peer dependencies
npm install @react-native-async-storage/async-storageLinking
React Native 0.60 and above
npx pod-installReact Native 0.59 and below
react-native link @react-native-async-storage/async-storageUsage
Simply import react-native-localstorage-polyfill in the root of your app
import 'react-native-localstorage-polyfill';localStorage.setItem('key', 'value');
localStorage.getItem('key');Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
