-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inlineRequires: true
breaks AsyncStorage
#682
Comments
We have the same issue, we can't update to react-native 0.64 since libraries like |
I have the same issue, took me a pretty long time to detect that the issue was coming from the inline-require |
Just to add on this issue, I experienced the same problem as originally described here, trying to use Something as simple as this doesn't work:
while Changing My current project is using:
|
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Unable to retrieve values with
getItem
When using the following code:
The top chunk never prints out an error or a result. I just get:
It just continues onto the bottom chunk where it correctly prints values:
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can
yarn install
andyarn test
.Will try to get this later
What is the expected behavior?
The item should be returned when using
await AsyncStorage.getItem('persist:root')
Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system.
Relevant
yarn.lock
:metro.config.js
:The text was updated successfully, but these errors were encountered: