Ember component rendered into a server rendered page breaks when using 1.7


#1

Hello, I’m attempting to follow the pattern shown in this blog post

You basically create a component with a template then use the replaceIn() method to inject it into your server rendered page. However it no longer seems to work, where by that I mean the component doesn’t render in the container div targeted.

From my personal debugging attempts it seems to work with Ember up to ver 1.6, here’s a working jsbin

But with Ember 1.7 it stopped working (nothing different here other than ember version included)

Can anyone point me in the right direction in using this technique with Ember 1.7?

Thanks!


#2

For anyone else that runs into this issue a fix is described here