BinaryLeo / react_native_mmkv_app

An implementation of MMKV (Key-value storage ) framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMKV - AutoComplete SignIn

License GitHub last commit GitHub top language BinaryLeo badge

Video MMKV
live.mp4

This is a project that demonstrates the use of MMKV, a key-value storage framework for React Native applications. With MMKV, in this project we easily store and retrieve user information to pre-populate their credentials in a sign-in form. This is achieved through the "allow auto-signIn" option, which automatically provides the user's stored credentials to the input "username" and "password" fields.

One of the major advantages of MMKV over other storage solutions like AsyncStorage is its support for synchronous operations. This allows for greater flexibility in managing data storage needs, especially in cases where data needs to be immediately persisted before proceeding to the next step in a process. MMKV's efficient C++ implementation ensures that performance is not compromised even with synchronous operations, making it a great option for React Native developers. According to the official documentation, MMKV is around 30 times faster than AsyncStorage.

Dependencies and command line options

expo install react-native-mkv
yarn add react-native-paper
yarn add react-native-safe-area-context
yarn add react-native-vector-icons
expo prebuild
npx expo run:android

About

An implementation of MMKV (Key-value storage ) framework

License:MIT License


Languages

Language:TypeScript 37.0%Language:Java 34.1%Language:Ruby 13.5%Language:Objective-C++ 11.5%Language:JavaScript 2.2%Language:Objective-C 1.2%Language:Swift 0.4%