react-native-mmkv
react-native-multithreading
Our great sponsors
react-native-mmkv | react-native-multithreading | |
---|---|---|
47 | 8 | |
5,125 | 1,102 | |
- | - | |
8.0 | 0.0 | |
9 days ago | over 1 year 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.
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?
react-native-multithreading
-
Not a good Time to Start with RN?
You can look at MMKV, Vision Camera and some other libs based on JSI which work pretty fast. https://github.com/mrousavy/react-native-mmkv https://github.com/mrousavy/react-native-vision-camera https://github.com/mrousavy/react-native-multithreading
- Have you guys tried multi threading or spawning a new process for expensive tasks ?
-
Why do people confuses async await with multithreading and how does it work in different language?
https://mobidev.biz/blog/how-react-native-app-development-works https://github.com/mrousavy/react-native-multithreading
-
React Native - when JS is too busy
☘️ take advantage of the next coming React Native architecture JSI + Fabric Rendering + Turbo Modules
-
Sponsoring open source projects, share about your project
react-native-multithreading: A library for spawning a secondary JavaScript runtime to run code in there. Pretty experimental
-
Best way to upload large files (images) as a background task in React Native?
Have a look into react-native-multithreading.
-
Using Kotlin cross platform with react native
Have you seen https://github.com/mrousavy/react-native-multithreading? Reanimated2 opens the doors to spinning up new JS threads. So we could essentially have multi-threaded JavaScript and avoid dropping down to the native layer at all 🎉.
-
I made a react native library that lets you run JS code on a separate thread, fully parallel, awaitable and performant.
Here's an example on how easy it is to use: const result = await spawnThread(() => { 'worklet' // expensive calculation return ... }) See mrousavy/react-native-multithreading (GitHub) for more details.
What are some alternatives?
async-storage - An asynchronous, persistent, key-value storage system for React Native.
react-native-reanimated - React Native's Animated library reimplemented
zustand - 🐻 Bear necessities for state management in React
gpx-converter - python package for manipulating gpx files and easily converting gpx to other different formats
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
rn-ldk - Lightweight lightning node for React Native
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]
react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library.
flipper - A desktop debugging platform for mobile developers.
neutralinojs - Portable and lightweight cross-platform desktop application development framework
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
uniq - A lock-free (multi reader / multi writer) circular buffered queue.