From b02833b913435865b72bd6315b1f2ca0015c3469 Mon Sep 17 00:00:00 2001 From: Frank Calise Date: Tue, 14 May 2024 13:49:19 -0400 Subject: [PATCH] fix(mmkv): new arch warning --- 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