emberjs/ember.js — Issue #560: Dynamic injection of views requires re-rendering
Author: stas
Created: 2012-03-03 14:52:38+00:00
State: open

Using Ember v.0.9.5 with require.js I'm injecting views dynamically into a `ContainerView`.
The problem I'm facing with this approach, is that, views get stuck with the context used upon initial rendering, and do not reflect context changes.

This will probably get fixed with #417, but for now the only way to overcome this issue, is to call directly view's `rerender()`.

An example of the above can be found here:
https://github.com/stas/emberjs-requirejs

I admit that I might be doing something wrong, if so, please point me to the right way of doing the same.
Thanks in advance.