react-native-mmkv
MMKV
Our great sponsors
react-native-mmkv | MMKV | |
---|---|---|
47 | 5 | |
5,125 | 16,791 | |
- | 0.9% | |
8.0 | 8.7 | |
9 days ago | 6 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
react-native-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
-
Key/value store with expo
Why do you need to access the db from the file system? Can you just use something like https://github.com/mrousavy/react-native-mmkv ?
- React native for Linux app development in 2023
-
React Native is Multi Threaded
By using libraries like Reanimated, React Native MMKV, and React Native Skia, you leverage the native thread. However, I know there are developers building amazing things who think outside the box. I'm always thrilled when I read engineering blogs from companies like Netflix, Meta, and Shopify. They create solutions beyond the limits.
-
Legend-State 1.0: The fastest React state library
mmkv is not really designed to be used for “heavy” writes, or often changing values. But more as e.g. NSUserDefaults. The storage keeps growing over time which may cause memory issues if used wrongly. Here’s a related github issue: https://github.com/mrousavy/react-native-mmkv/issues/440
-
Open Source Stream/SendBird Alternative?
Persistence - React Native MMKV (supports encryption natively and easily integrates with TanStack Query via persistQueryClient)
-
Best way to store data to device?
if you need to store something small and simple use whatever. if is complex and speed is important use something performant. realmDB, https://github.com/mrousavy/react-native-mmkv and others are good fit for the job.
-
what are some good options for offline databases?
Screw you all, I'll use MMKV as my Local DB: please do not, as explained here.
-
react native async storage is not getting accessed correctly pls help me
Try react native mmkv https://github.com/mrousavy/react-native-mmkv
- Best solution for typing suggestions with a huge array?
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
What are some alternatives?
async-storage - An asynchronous, persistent, key-value storage system for React Native.
Realm - Realm is a mobile database: a replacement for Core Data & SQLite
zustand - 🐻 Bear necessities for state management in React
SQLite.swift - A type-safe, Swift-language layer over SQLite3.
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
ObjectBox embedded database - Swift database - fast, simple and lightweight (iOS, macOS)
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
SQLite - A stand-alone Swift wrapper around the SQLite 3 client library.
flipper - A desktop debugging platform for mobile developers.
WCDB - WCDB is a cross-platform database framework developed by WeChat.
react-native-mmkv-storage - An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
UserDefaults - Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS