![]() ![]() You can see the benchmarks here: Android & iOS Reactive using useMMKVStorage & useIndex Hooks MMKV uses mmap to keep memory synced with file, and protobuf to encode/decode values to achieve best performance. Fast and Efficient (0.0002s Read/Write Speed) (~ 50K Android/30K iOS) and even smaller when packaged. It employs React Native JSI making it the fastest storage option for React Native. Starting from v0.5.0 the library has been rewritten in C++ on Android and iOS both. If you are on older version of react native, keep using 0.8.x. Works only with react native 0.71.0 and above. ![]() Learn how to build your own module with JSI on my blog 0.9.0 Breaking change Read about it on this blog post I wrote on dev.to ![]() 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. 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). This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |