Skip to content

Infinite recursion in circular pure computeds #2154

@futpib

Description

@futpib
a = ko.pureComputed(function() { b(); });
b = ko.pureComputed(function() { a(); });
a();
b(); // RangeError: Maximum call stack size exceeded

Not sure if this is related to #1943.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions