-
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
Hot Reloading Maximum call stack size exceeded
error with circular reference
#7288
Comments
Also having this issue |
cc @martinbigio |
Im having same issue! running react-native 0.29.2, it will only give the Maximum call stack size exceeded if "Remote JS debugging" is enabled. But without Remote JS debugging it will still import the modules 1000 of times making HOT extremely slow. https://www.dropbox.com/s/qcwa3g3v5a5azi6/Screenshot%202016-07-20%2016.16.49.png?dl=0 |
Did anyone manage to solve this one, I'm having a hard time with this.. |
Adding |
You could also try using JavaScript-style |
@respectTheCode Thanks, for now it does the job |
@ide I'm using import and export, thanks anyway for the answer |
had anyone solve 'Im having same issue! running react-native 0.29.2, it will only give the Maximum call stack size exceeded if "Remote JS debugging" is enabled. But without Remote JS debugging it will still import the modules 1000 of times making HOT extremely slow.' problem?? |
+1 Dealing with this problem forever. |
As soon as I've created the project from CLI with init option, without even touch anything on the generated code, enabling JS debugging remotely cause this same maximum call stack size exceeded issue. Running through Android Emulator. react-native-cli: 1.3.0 |
same problem on "react-native": "0.38.0" and "react": "15.4.1" for iOS as soon as I try to |
For anyone have this problem, the workaround for me was using Xcode to deploy a simulator and not using |
+1, on Android |
1 similar comment
+1, on Android |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
This issue is still happening as of 0.48.0. This should be opened again |
+1 |
same issue |
I recommend opening a new issue and filling out the template (as recommended by the message above). |
Can't believe this is still not addressed!!!! |
Hey folks! This has been recently fixed and it will be available in v0.54.0 |
I'm running 0.54.4 and am still encountering this error. Here's the code that triggers the bug (I've logged out all values and the data structure is exactly what I want it to be... anything that strikes y'all as wrong syntactically?):
|
@harrysolovay can you provide more information? do you have a circular dependency? Are you getting any error message in the device/console? |
Say, there are two files
a.js
andb.js
.a.js
:b.js
:After change one of this file, with Hot Reloading enabled, it will run into an infinite situation and cause
Maximum call stack size exceeded
finally.Even if I use a dynamic require in a function, such as what in
b.js
:The text was updated successfully, but these errors were encountered: