We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
var data = Immutable.List([1]) .toSeq() .filter(_ => true) .take(1) React.createElement('div', null, data);
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 the take will work as usual.
filter
take
edit: removed 6to5/jsx dependency
The text was updated successfully, but these errors were encountered:
From my debugging, it gets stuck in the while loop in validateChildKeys
validateChildKeys
} 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(); }
skipped is 1 and resolvedBegin is 0
skipped
1
resolvedBegin
0
Sorry, something went wrong.
Thanks for the report! I'll dig into this
fix slice iterator bug immutable-js#394
6b2b75b
No branches or pull requests
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: