-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Bug?] After I update to 0.6.0rc, it can't support the es6 class? #1578
Comments
I am extending React.Component via ES6 style classes and am using 0.6.0 and do not have those exceptions :( |
@soliury Are you getting those issues in the Simulator or on real hardware? |
This has worked for a while, the error seems unrelated to the class problem. If all you do is toggle between the |
I meet this problem in both simulator and hardware. |
@soliury - but with both |
Now, I close reboot and then, it works well. I don't know why. And I have a project which using 0.4.4, and then I update it to 0.6.0-rc, it can't work. I use 0.5.0, it can works well. It shows that :
|
Same issue here after upgrading to 0.6.0-rc. I still try to find out whether the project files must be changed as well but haven't figured anything specific out yet. |
I try to create a new project in 0.5.0, and then, update to 0.6.0-rc , and then , it can work. Then, I try to copy the new project file to my older project in 0.4.4, but it also failed. I don't know why. |
Same problem here after upgrading to 0.6.0:
|
it is good now when I update to 0.6.0. |
I am experiencing the same issue when upgrading from 0.5.0 to 0.6.0 stable:
|
Now I have no issue in 0.6.0. It runs well |
I had the same issue. Upgraded to 0.6.0 and everything worked well. I then installed a package which required a lower version of RN. Once I removed the package, cleaned and rebuilt, everything started working again. |
yes. This is the require bug of react-native. |
@soliury are you still having issues, this seems to be resolved. It appears there are multiple solutions here and on #1754 as well. @brentvatne already solved. |
Although #1606 does say "Packager should fail loudly" however, the workaround is basically clearing everything out. |
Yes, it solved. Thanks all. |
I use
.createClass
it works well, but useclass xxx extends Component
, it failed.It shows that :RCTDataManager.queryData was called with 4 arguments, but expects 3
The text was updated successfully, but these errors were encountered: