From 4d40d9b4c6273d40f6e5f01f4d2a43cd8732076f Mon Sep 17 00:00:00 2001 From: Jesse Pinho Date: Mon, 6 Jan 2025 12:21:23 -0800 Subject: [PATCH] Tweak README --- react-native-expo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-native-expo/README.md b/react-native-expo/README.md index 5401c5e..777c344 100644 --- a/react-native-expo/README.md +++ b/react-native-expo/README.md @@ -195,6 +195,6 @@ The slice can be consumed and updated just like any other slice (via `useAppSele ## Weird issues/gotchas -### Importing `@penumbra-zone/bech32m/penumbra` +### Importing `@penumbra-zone/*` packages -For some reason, although TypeScript and Storybook understand imports from `@penumbra-zone/bech32m/penumbra`, Expo does not, and expects the import to come from inside `dist`. This should be fixed; but in the meantime, `metro.config.cjs` temporarily patches these imports using an alias. +For some reason, although TypeScript and Storybook understand imports from `@penumbra-zone/...`, Expo often does not, and expects the import to come from e.g., inside `dist/`. This should be fixed; but in the meantime, `metro.config.cjs` temporarily patches these imports using an alias.