Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Angular binding causing Maximum call stack size exceeded #15712

Closed
@AvraamMavridis

Description

@AvraamMavridis

I have a very simple component, something like

App.component('mxComponentOverlay', {
  template: '<div></div>',

  bindings: {
    input: '=?',
  },

  controller: ComponentOverlay,
});

Input is an object, so I am doing:

  <mx-component-overlay
     input="{ 'icon': 'add', 'subject': $ctrl.subject }">
  </mx-component-overlay>

$ctrl.subject was an RxJS 4, Subject, migrating to RxJS 5 this is causing a Maximum call stack size exceeded error.

If I do:

  <mx-component-overlay
     input="$ctrl.subject">
  </mx-component-overlay>

I dont have the issue. Any idea what can cause this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions