-
Notifications
You must be signed in to change notification settings - Fork 23
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
Debug screen was locked about 3minutes #7
Comments
This seems to be happening to me too. |
@taipa-ibl, I think I found the culprit. In my const babelRC = {
presets: ['react-native'],
sourceMaps: true,
plugins: [
... Once I commented out the Let me know if that fixes it for you. |
@taipa-ibl: After more investigation, I got source maps working with fast Chrome Debugging and better rebuild times. The solution? Move all of my transform code to {
"presets": ["react-native"],
"sourceMaps": true,
"plugins": [
["module-resolver", {
"alias": {
"crypto": "react-native-crypto",
"stream": "stream-browserify",
"vm": "vm-browserify",
},
}],
],
"env": {
"development": {
"plugins": ["transform-react-jsx-source"]
}
}
} I'm fairly new to this babel transform stuff, so if you see anything in there that's incorrect or could be improved, I'm all ears. Hopefully this helps, though! Of course, you may need more aliases in there. Depends on what all you're using. |
Thank you very much. It's work !!! |
@brandonfancher thanks! it really helped me too! https://github.com/agrcrobles/babel-preset-react-native-web3/blob/master/src/index.js I only needed crypto though, it brokes debugging and doesn't hot reload on expo. |
Hi,
I set to run Crypto on React-Native 0.45.1.
It is able to run, but have a trouble.
That is when debug app, it is always freeze the chrome debug tab for about 3 minutes, after that, it run as normal.
Did you get a problem like this ?
The text was updated successfully, but these errors were encountered: