async-storage
react-native-mmkv
Our great sponsors
async-storage | react-native-mmkv | |
---|---|---|
37 | 47 | |
4,534 | 5,125 | |
1.6% | - | |
8.3 | 8.0 | |
14 days ago | 9 days ago | |
TypeScript | C++ | |
MIT License | 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.
async-storage
-
Unit Testing Expo Apps With Jest
\[@RNC/AsyncStorage\]: NativeModule: AsyncStorage is null. To fix this issue try these steps: • Rebuild and restart the app. • Run the packager with \`--reset-cache\` flag. • If you are using CocoaPods on iOS, run \`pod install\` in the \`ios\` directory and then rebuild and re-run the app. • If this happens while testing with Jest, check out docs how to integrate AsyncStorage with it: https://react-native-async-storage.github.io/async-storage/docs/advanced/jest If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-async-storage/async-storage/issues 5 | import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; 6 | import { Platform } from 'react-native'; > 7 | import AsyncStorage from '@react-native-async-storage/async-storage';
-
State Management Nx React Native/Expo Apps with TanStack Query and Redux
Storage: redux-persist, @react-native-async-storage/async-storage
-
Is there a way to store things even if the app closes?
You want this: react-native-async-storage
-
Fullstack Developer here, just diving into React Native. For my first app do you think it would be better to use local storage or to build an api?
What do you mean by local storage? The browser based localStorage API does not exist by default in react-native. There is an analogue though... The most basic package that most people use, AsyncStorage is just a string based key-value store: https://github.com/react-native-async-storage/async-storage . It's very useful for anything simple. It also has a merge function which lets you automatically update stringified JSON objects without unpacking them and doing the modifications yourself.
- How to delete LocalStorage key/value pairs from Android phone?
- LocalStorage for React Native Expo app?
-
WhatsApp in React Native (part 3)
Android - SQLite
-
How to Mock and Test AsyncStorage in React Native
Since the original React Native AsyncStorage was deprecated, you may be using the community solution: react-native-async-storage. I would personally recommend it!
-
Any solution for this?
I think that you using a deprecated package to store your state. Verify if you are using https://github.com/react-native-async-storage/async-storage.
-
React vs React Native: How Different Are They, Really?
State management, orchestrating HTTP requests, synchronizing client and server state: all these things will apply to React Native. The differences will only arise when the device layer comes into play (for example, if you have to store data on the client, window.localStorage doesn’t exist, but AsyncStorage does.)
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?
What are some alternatives?
react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
zustand - 🐻 Bear necessities for state management in React
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
redux-persist - persist and rehydrate a redux store
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]
rtk-query - Data fetching and caching addon for Redux Toolkit
flipper - A desktop debugging platform for mobile developers.
expo-storage - Simple way to store persistent data, which does not have size limitations of react-native async-storage.
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
frank_jwt - JSON Web Token implementation in Rust.
react-native-reanimated - React Native's Animated library reimplemented