Skip to content
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

"Your code is broken! Do not iterate over arrays with for...in." <-- NO. your code is broken! :) #949

Closed
jaygarcia opened this issue Apr 21, 2015 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jaygarcia
Copy link
Contributor

FYI. This is currently in the repo. Having this explode like this from the Facebook team-written code is not nice :(.

I saw this in my own project yesterday, and noted that I had not used "for in" loops.

dafuq

@magicismight
Copy link
Contributor

+1
It occurred when I updated the react native to the lastest version(0.4.0)
My code wasn't broken before I updated react native!

@chirag04
Copy link
Contributor

+1 I had the exact same problem today.

@brentvatne
Copy link
Collaborator

This is being tracked in #868 and a fix is on the way 😄

(See also #907 and #870 - this is a popular one!)

@xcatliu
Copy link
Contributor

xcatliu commented Apr 28, 2015

+1

Solved the problem by updating react-native@0.4.0 to react-native@0.4.1

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants