Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Mocking Guide #1420
Open
Update Mocking Guide #1420
Comments
|
Thanks. Feel free to submit a pull request with the updates. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Is your feature request related to a problem? Please describe.
This is releated to this.
I believe documentation on the topic of mocking is outdated. I'm quite new to React Native and it took me a while until I figured that current version of metro does not support
rn-cli.config.jsanymore.Describe the solution you'd like
metro.config.js,metro.config.jsonor metro field inpackage.jsonshould be configured instead.RN_SRC_EXTinpackage.jsonwhen not using custom session config.react-native-repackagerless significant as this is only valid for rn < 0.55.Additional context
I don't know how relevant this is for experienced React Native users, but as a newcomer I found it quite confusing.
Hope this sounds reasonable :)