Ravenstine / ember-custom-elements

The easiest way to render parts of your Ember app using custom elements.
MIT License
15 stars 4 forks source link

Uncaught RangeError: Maximum call stack size exceeded - on specific app #19

Open billyjov opened 3 years ago

billyjov commented 3 years ago

Hi,

the addon works fine for one of my app inside a monorepo. But i'm facing the issue that in another app an error is thrown as soon as i install the addon.

here are some screenshots.

mfe-1 mfe-2

You may have an idea what is going wrong ? Thanks in advance

billyjov commented 3 years ago

cc @alexlafroscia @Ravenstine

billyjov commented 3 years ago

This recursion call is problematic in this case: https://github.com/Ravenstine/ember-custom-elements/blob/master/addon/instance-initializers/ember-custom-elements.js#L79