{"repo":"ammarahm-ed/react-native-mmkv-storage","free":true,"listed":false,"github":"https://github.com/ammarahm-ed/react-native-mmkv-storage","clone":"git clone https://github.com/ammarahm-ed/react-native-mmkv-storage.git","description":"An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI","language":"C++","stars":1751,"topics":["react-native","asyncstorage","mmkv-database","java","objective-c","storage","android","ios","fast-storage","react"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Install the library npm install react-native-mmkv-storage For expo bare workflow expo prebuild Get Started with Documentation What it is This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses MMKV by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion users). Unlike other storage solutions for React Native, this library lets you store any kind of data type, in any number of database instances, with or without encryption in a very fast and efficient way. Read about it on this blog post I wrote on dev.to Learn how to build your own module with JSI on my blog 0.9.0 Breaking change Works only with react native 0.71.0 and above. If you are on older version of react native, keep using 0.8.x. Features Written in C++ using JSI Starting from v0.5.0 the library has been rewritten in C++ on Android and iOS both. It employs React Native JSI making it the fastest storage option for React Native. Simple and lightweight ( 50K Android/30K iOS) and even smaller when packaged. Fast and Efficient (0.0002s Read/Write Speed) MMKV uses mmap to keep memory synced with file, and protobuf to encode/decode values to achieve best performance. You can see the benchmarks here: Android & iOS Reactive using useMMKVStorage & useIndex Hooks Hooks let's the storage update your app when a change takes place in storage. useMMKVStorage hook Starting from v0.5.5 , thanks to the power of JSI, we now have our v","default_branch":null,"files":null,"tree":[],"storefront":"/r/ammarahm-ed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ammarahm-ed/react-native-mmkv-storage/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}