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
Filtered sequence + take + react 0.13 hangs #394
Comments
From my debugging, it gets stuck in the while loop in } else if (node) {
var iteratorFn = getIteratorFn(node);
// Entry iterators provide implicit keys.
if (iteratorFn) {
if (iteratorFn !== node.entries) {
var iterator = iteratorFn.call(node);
var step;
while (!(step = iterator.next()).done) {
if (ReactElement.isValidElement(step.value)) {
validateExplicitKey(step.value, parentType);
}
}
}
} else if (typeof node === 'object') { digging in deeper, this line in immutable is an infinite loop: return new src_Iterator__Iterator(function() {
while (skipped++ !== resolvedBegin) {
iterator.next();
}
|
kentor
changed the title
Filtered sequence + take + react 0.13 crashes browser
Filtered sequence + take + react 0.13 hangs
Mar 17, 2015
Thanks for the report! I'll dig into this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wasn't sure if I should file this here or at the react project.
Very bizarre, this code crashes in latest Chrome and Firefox for me:
Using react 0.13 and immutable-js 3.6.4
JSBin: http://jsbin.com/qoyimuneqo/2/edit?html,js,output (might crash tab, firefox handles it better for me)
Taking out the line with
filter
or thetake
will work as usual.edit: removed 6to5/jsx dependency
The text was updated successfully, but these errors were encountered: