react-native-mmkv

Provide synchronous AES-encrypted key-value storage for React Native apps.

3|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/jonluca/palate --skill react-native-mmkv-jonluca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-native-mmkv
Source: https://github.com/jonluca/palate/tree/main/.agents/skills/react-native-mmkv
Command: npx skills add https://github.com/jonluca/palate --skill react-native-mmkv-jonluca

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-native-mmkv, react-native-nitro-modules, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a fast, synchronous key-value storage solution for React Native applications, offering efficient data persistence with encryption options and state management integrations.

Core Features & Use Cases

  • Synchronous Access: Provides fast, synchronous data access for key-value operations, suitable for real-time applications.
  • Encryption: Supports AES encryption for secure data storage.
  • State Management: Integrates with popular state management libraries like zustand, redux-persist, jotai, and react-query.
  • Use Case: Ideal for storing user preferences, application settings, and session data in React Native applications.

Quick Start

Use the react-native-mmkv skill to create an MMKV instance and set a value:

react-native-mmkv set my-key my-value

Frequently Asked Questions about react-native-mmkv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store data synchronously in React Native without async await?

Synchronous key-value storage in React Native enables immediate data access without async await. This Skill provides fast, synchronous operations via MMKV, suitable for real-time applications requiring instant data retrieval.

Can I use encrypted storage for user preferences in React Native?

Yes, encrypted storage for user preferences in React Native supports AES encryption. This Skill enables secure data persistence, ensuring sensitive application settings and session data remain protected on the device.

Does synchronous React Native storage work with state management libraries?

Synchronous React Native storage integrates with popular state management libraries like zustand, redux-persist, jotai, and react-query. This Skill connects MMKV storage to manage application state efficiently.

What dependencies do I need to set up MMKV storage in React Native?

To set up MMKV storage in React Native, you need the react-native-mmkv and react-native-nitro-modules dependencies. This Skill requires both packages to enable high-performance key-value operations.

What is the best way to persist session data in React Native?

The best way to persist session data in React Native is using a high-performance key-value storage solution. This Skill offers fast, synchronous data access, making it ideal for storing session information efficiently.

When should I not use synchronous storage in React Native?

You should not use synchronous storage in React Native for large datasets that block the main thread. This Skill's synchronous key-value storage is optimized for user preferences and settings, not bulk data operations.