Skip to content

Using ListView in 0.4.0 logs "Your code is broken!" warning #907

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

Closed
johanneslumpe opened this issue Apr 17, 2015 · 4 comments
Closed

Using ListView in 0.4.0 logs "Your code is broken!" warning #907

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

Comments

@johanneslumpe
Copy link
Contributor

When displaying a ListView the following warning is logged:

"Your code is broken! Do not iterate over arrays with for...in."

I'm not sure whether it's the ListView or the ScrollView doing something weird.

@ide
Copy link
Contributor

ide commented Apr 17, 2015

See #868, it's the deepDiffer's treating objects as arrays.

@ghost
Copy link

ghost commented Apr 20, 2015

So, why was the bug closed? The bug is still there.

@sophiebits
Copy link
Contributor

It's being tracked in #868.

@ghost
Copy link

ghost commented Apr 20, 2015

Ah ok, thanks.

@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

4 participants