{"action":"created","issue":{"url":"https://api.github.com/repos/muut/riotjs/issues/326","labels_url":"https://api.github.com/repos/muut/riotjs/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/muut/riotjs/issues/326/comments","events_url":"https://api.github.com/repos/muut/riotjs/issues/326/events","html_url":"https://github.com/muut/riotjs/issues/326","id":57049203,"number":326,"title":"using unmount() outside of this.","user":{"login":"markcameron","id":1106894,"avatar_url":"https://avatars.githubusercontent.com/u/1106894?v=3","gravatar_id":"","url":"https://api.github.com/users/markcameron","html_url":"https://github.com/markcameron","followers_url":"https://api.github.com/users/markcameron/followers","following_url":"https://api.github.com/users/markcameron/following{/other_user}","gists_url":"https://api.github.com/users/markcameron/gists{/gist_id}","starred_url":"https://api.github.com/users/markcameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcameron/subscriptions","organizations_url":"https://api.github.com/users/markcameron/orgs","repos_url":"https://api.github.com/users/markcameron/repos","events_url":"https://api.github.com/users/markcameron/events{/privacy}","received_events_url":"https://api.github.com/users/markcameron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-09T15:58:25Z","updated_at":"2015-02-09T17:56:24Z","closed_at":null,"body":"Maybe I'm missing something with the correct way to do things with this framework, but with `this.unmount()` I can only unmount the current tag, but if I want to unmount a particular tag during an event in a different tag there is no `riot.unmount('TAG_NAME')` method. How do I go about doing this? Is it with observers? Or is it just not supported by the framework?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/muut/riotjs/issues/comments/73556107","html_url":"https://github.com/muut/riotjs/issues/326#issuecomment-73556107","issue_url":"https://api.github.com/repos/muut/riotjs/issues/326","id":73556107,"user":{"login":"ivan-saorin","id":1847361,"avatar_url":"https://avatars.githubusercontent.com/u/1847361?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-saorin","html_url":"https://github.com/ivan-saorin","followers_url":"https://api.github.com/users/ivan-saorin/followers","following_url":"https://api.github.com/users/ivan-saorin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-saorin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-saorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-saorin/subscriptions","organizations_url":"https://api.github.com/users/ivan-saorin/orgs","repos_url":"https://api.github.com/users/ivan-saorin/repos","events_url":"https://api.github.com/users/ivan-saorin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-saorin/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T17:56:24Z","updated_at":"2015-02-09T17:56:24Z","body":"So the Flux architecture is a pub / sub eith a fancy name?\nNo polemic here, I'm asking as I don't know it.\nIl 09/Feb/2015 18:50 \"deakster\" <notifications@github.com> ha scritto:\n\n> I would also add that you can use the Flux architecture to solve things\n> like this very cleanly. Your interactions would dispatch messages which\n> flow down to any interested components.\n>\n> In this context, the component doing the removing as a result of user\n> input for example would dispatch a message. Components that should unmount\n> as result would listen to those messages of that type and remove themselves.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/muut/riotjs/issues/326#issuecomment-73555137>.\n>\n"}}