-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[0.57.0] Metro in React Native 0.57.0 slower than older ? #21138
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write |
@react-native-bot i added it (Environment). I think you need to smarter :) |
@Winglonelion I guess it just looks for the But yep, metro seems much slower (like 5x - 10x slower for first build) since upgrading.
|
This is not a react-native issue, so I don't see why we should keep this open. If you think that something in Metro is now slower I recommend you open a dedicated issue on that project repo. |
Maybe it is not a bug. But it happen clarify after my Project upgraded to RN 0.57.0. And i think it need some confirm from community to ensure what happen.
Environment
Run
react-native info
in your terminal and paste its contents here.Description
The Problems: As above, after upgraded my Project to RN 0.57.0 with babel 7.0.0. When debugging, my Metro server bundling progress spent x10 time to resolve same files and assets than 0.56.0. (30s -> 5 - 7 mins)
It made a large death time in my developing. Anyone met same issues ?
Release build worked fine. It just a problem with Metro Server.
Additional: Because RN devtool and debug server not compatable with RN 0.57.0, so i removed it from dev dependencies. You can see more here: #21054
Reproducible Demo.
I'm not sure. But it happen with this dependencies and configs:
packages.json:
.babelrc:
The text was updated successfully, but these errors were encountered: