MMKV
react-native-mmkv-storage
Our great sponsors
MMKV | react-native-mmkv-storage | |
---|---|---|
5 | 9 | |
16,821 | 1,500 | |
1.1% | - | |
8.7 | 7.3 | |
1 day ago | 3 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MMKV
-
Understanding security in React Native applications
react-native-mmkv is a wrapper around MMKV that allows you to easily implement secure storage in your app. It is arguably the fastest key-value storage for React Native apps
-
TOP 6 React Native libraries with native performance ⚡️
This library uses MMKV key-value storage and JSI to communicate between the JS side and the native side very quickly and synchronously. It is a suitable replacement for slow AsyncStorage. Follow this guide to migrate from AsyncStorage and get 30x faster on read and write operations in your app.
-
MMKV Visualizer - simple visualizer for mobile forensicators
For those unfamiliar with MMKV, here's a link to their GitHub - https://github.com/Tencent/MMKV. Used in many mobile applications, such as Discord.
-
React Native SWR Persistent Cache with MMKV
SWR library works great with React Native. By default, SWR library uses global cache store, but you will lose your cache when you reload your app. Here is a super-easy way to sync SWR cache with MMKV.
-
Getting Started with React Native JSI Modules
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
react-native-mmkv-storage
-
Is react-native-encrypted-storage a good place for storing base64 images securely?
As title says, is it a good option? There'll be like 60 webp images not some high quality. Or should I add some local db instead, something like: 1. https://github.com/ammarahm-ed/react-native-mmkv-storage 2. https://github.com/Nozbe/WatermelonDB
- Secure storage library?
-
Why does my RN app seem to speed up as I use it on iOS?
Use mmkv storage to make it faster
-
Is there is any alternative to AsyncStorage
watermelondb https://github.com/Nozbe/WatermelonDB mmkv giving another issue when you release on playstore in here https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/194
-
Snychronized database solution for offline first app with expo
roll your own with asyncstorage (or RN mmkv https://github.com/ammarahm-ed/react-native-mmkv-storage ) and react query
-
React Native Async Storage Flipper Plugin
Async Storage is slow/limited though, the new black is MMKV - https://github.com/mrousavy/react-native-mmkv or https://github.com/ammarahm-ed/react-native-mmkv-storage
-
Getting Started with React Native JSI Modules
If you use Async Storage in your React Native App, you should give react-native-mmkv-storage a try. The fastest storage library for react native built with JSI.
-
[JSI[C++]The Fastest Encrypted Storage for React Native just got Faster.
It's been a year now and with the extensive support from community, react-native-mmkv-storage has gotten even faster than it was using JSI. I have rewritten the whole library in C++. There are no `@ReactMethods` or the old bridge anymore. Everything happens in C++ which makes this library the fastest solution available for your apps.
-
How do i implement authentication.
In my experience cookies does not play well with RN. In my apps I usually receive the token on the authorization header of the sign in/sign up response. I store it (I use react-native-mmkv since it provides encryption and compatibility with redux-persist out of the box) and append it to every request (using Axios). When the user logs out and for 401 responses I clean the storage
What are some alternatives?
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
react-native-encrypted-storage - React Native wrapper around EncryptedSharedPreferences and Keychain to provide a secure alternative to Async Storage.
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)
react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
SQLite - A stand-alone Swift wrapper around the SQLite 3 client library.
flipper-plugin-async-storage-advanced - Flipper plugin for async storage, provides options to view/edit/delete/create async storage entries via Flipper.
WCDB - WCDB is a cross-platform database framework developed by WeChat.
redux-persist-sensitive-storage - redux-persist storage engine for react-native-sensitive-info
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS
react-native-mmkv - ⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!