{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/650","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/650/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/650/events","html_url":"https://github.com/lhorie/mithril.js/issues/650","id":86097156,"number":650,"title":"Views of child components are not redrawn when passed via Controller","user":{"login":"mt0erfztxt","id":12785564,"avatar_url":"https://avatars.githubusercontent.com/u/12785564?v=3","gravatar_id":"","url":"https://api.github.com/users/mt0erfztxt","html_url":"https://github.com/mt0erfztxt","followers_url":"https://api.github.com/users/mt0erfztxt/followers","following_url":"https://api.github.com/users/mt0erfztxt/following{/other_user}","gists_url":"https://api.github.com/users/mt0erfztxt/gists{/gist_id}","starred_url":"https://api.github.com/users/mt0erfztxt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt0erfztxt/subscriptions","organizations_url":"https://api.github.com/users/mt0erfztxt/orgs","repos_url":"https://api.github.com/users/mt0erfztxt/repos","events_url":"https://api.github.com/users/mt0erfztxt/events{/privacy}","received_events_url":"https://api.github.com/users/mt0erfztxt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T09:18:28Z","updated_at":"2015-06-09T10:13:43Z","closed_at":null,"body":"Example of expected/unexpected behavior in this [jsfiddle](http://jsfiddle.net/mt0erfztxt/c9cd8ksa/). When I pass child components directly to `view` via `args` argument all works. If pass same components through `controller` then nested views of component are not redrawn any more, to see it in action uncomment lines 34-48. Am I doing something not in 'Mithril way' when use `controller` to prepare/configure components for `view`?"},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/110301495","html_url":"https://github.com/lhorie/mithril.js/issues/650#issuecomment-110301495","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/650","id":110301495,"user":{"login":"mt0erfztxt","id":12785564,"avatar_url":"https://avatars.githubusercontent.com/u/12785564?v=3","gravatar_id":"","url":"https://api.github.com/users/mt0erfztxt","html_url":"https://github.com/mt0erfztxt","followers_url":"https://api.github.com/users/mt0erfztxt/followers","following_url":"https://api.github.com/users/mt0erfztxt/following{/other_user}","gists_url":"https://api.github.com/users/mt0erfztxt/gists{/gist_id}","starred_url":"https://api.github.com/users/mt0erfztxt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mt0erfztxt/subscriptions","organizations_url":"https://api.github.com/users/mt0erfztxt/orgs","repos_url":"https://api.github.com/users/mt0erfztxt/repos","events_url":"https://api.github.com/users/mt0erfztxt/events{/privacy}","received_events_url":"https://api.github.com/users/mt0erfztxt/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T10:13:43Z","updated_at":"2015-06-09T10:13:43Z","body":"Thanks for your reply and you are right! This was clearly stated in Mithril docs also. Example in fiddle above was simply ... stupid? I modified it to be more similar to code with which I have a problem. New version is here [jsfiddle](http://jsfiddle.net/mt0erfztxt/n8ubLmdo/). Now I am not creating an array in `controller` but save a reference of `content` argument and use it in `view`. As I suppose the `content` argument in `view` is a same object as `ctrl.content`, but still no luck. Feels like my problem lie in lack of understanding of JS as a language."}}