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
Description
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?