8000 Cursors are broken in 3.6.0 · Issue #283 · immutable-js/immutable-js · GitHub
[go: up one dir, main page]

Skip to content
Cursors are broken in 3.6.0 #283
Closed
Closed
@baskerville

Description

@baskerville

The following example:

var Immutable = require("immutable"),
    Cursor = require("immutable/contrib/cursor");

var jsData = [{a: 1}, {a: 2}, {a: 3}],
    data = Immutable.fromJS(jsData),
    cursor = Cursor.from(data);

cursor.forEach(function (c) {
    console.log(c);
});

works fine with 3.5.0, but produce the following error with 3.6.0:

RangeError: Maximum call stack size exceeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0