From 5f0e46b53df645b9229fefdea17c74f2f6ed92e7 Mon Sep 17 00:00:00 2001 From: Frank Calise Date: Tue, 14 May 2024 15:15:31 -0400 Subject: [PATCH] fix(mmkv): new arch warning (#161 by @frankcalise) --- docs/recipes/MigratingToMMKV.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/recipes/MigratingToMMKV.md b/docs/recipes/MigratingToMMKV.md index 75afe0d5..763841da 100644 --- a/docs/recipes/MigratingToMMKV.md +++ b/docs/recipes/MigratingToMMKV.md @@ -28,6 +28,10 @@ cd PizzaApp Install the `react-native-mmkv` dependency into the project and run prebuild again to let Expo take care of the necessary adjustments to the native template. +:::warning +If you're working in the [New Architecture](https://reactnative.dev/docs/the-new-architecture/landing-page), you'll want to specifically install `react-native-mmkv@beta`, which at the time of this writing is major version 3 and up. +::: + ```bash yarn remove @react-native-async-storage/async-storage yarn add react-native-mmkv