{"action":"created","issue":{"url":"https://api.github.com/repos/cyclejs/core/issues/346","repository_url":"https://api.github.com/repos/cyclejs/core","labels_url":"https://api.github.com/repos/cyclejs/core/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/cyclejs/core/issues/346/comments","events_url":"https://api.github.com/repos/cyclejs/core/issues/346/events","html_url":"https://github.com/cyclejs/core/issues/346","id":163536547,"number":346,"title":"Selected nodes lost on isolated component after rerender of the view","user":{"login":"kibin","id":1782569,"avatar_url":"https://avatars.githubusercontent.com/u/1782569?v=3","gravatar_id":"","url":"https://api.github.com/users/kibin","html_url":"https://github.com/kibin","followers_url":"https://api.github.com/users/kibin/followers","following_url":"https://api.github.com/users/kibin/following{/other_user}","gists_url":"https://api.github.com/users/kibin/gists{/gist_id}","starred_url":"https://api.github.com/users/kibin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kibin/subscriptions","organizations_url":"https://api.github.com/users/kibin/orgs","repos_url":"https://api.github.com/users/kibin/repos","events_url":"https://api.github.com/users/kibin/events{/privacy}","received_events_url":"https://api.github.com/users/kibin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cyclejs/core/labels/issue%20is%20bug","name":"issue is bug","color":"FF0000"},{"url":"https://api.github.com/repos/cyclejs/core/labels/resolution:%20works%20as%20expected","name":"resolution: works as expected","color":"bfdadc"},{"url":"https://api.github.com/repos/cyclejs/core/labels/scope:%20DOM","name":"scope: DOM","color":"bfd4f2"},{"url":"https://api.github.com/repos/cyclejs/core/labels/weight%203%20(should)","name":"weight 3 (should)","color":"888888"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-02T21:36:23Z","updated_at":"2016-07-13T20:06:17Z","closed_at":"2016-07-13T18:18:39Z","body":"Repro:\r\n\r\n```javascript\r\nimport {run} from '@cycle/xstream-run'\r\nimport {div, button, makeDOMDriver} from '@cycle/dom'\r\nimport isolate from '@cycle/isolate'\r\n\r\nfunction main(sources) {\r\n  return {\r\n    DOM: sources.DOM\r\n      .select(`button`)\r\n      .events(`click`)\r\n      .mapTo(1)\r\n      .fold(state => state + 1, 0)\r\n      .map(state =>\r\n        div(`.this-causes-rerender-${state}`, [\r\n          button(`+`),\r\n          state,\r\n        ]),\r\n      ),\r\n  }\r\n}\r\n\r\nrun(isolate(main), {\r\n  DOM: makeDOMDriver(`#content`),\r\n})\r\n```\r\n\r\nClicks are stopped after reaching 2."},"comment":{"url":"https://api.github.com/repos/cyclejs/core/issues/comments/232470862","html_url":"https://github.com/cyclejs/core/issues/346#issuecomment-232470862","issue_url":"https://api.github.com/repos/cyclejs/core/issues/346","id":232470862,"user":{"login":"kibin","id":1782569,"avatar_url":"https://avatars.githubusercontent.com/u/1782569?v=3","gravatar_id":"","url":"https://api.github.com/users/kibin","html_url":"https://github.com/kibin","followers_url":"https://api.github.com/users/kibin/followers","following_url":"https://api.github.com/users/kibin/following{/other_user}","gists_url":"https://api.github.com/users/kibin/gists{/gist_id}","starred_url":"https://api.github.com/users/kibin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kibin/subscriptions","organizations_url":"https://api.github.com/users/kibin/orgs","repos_url":"https://api.github.com/users/kibin/repos","events_url":"https://api.github.com/users/kibin/events{/privacy}","received_events_url":"https://api.github.com/users/kibin/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T20:06:17Z","updated_at":"2016-07-13T20:06:17Z","body":"This issue is not only about dynamic classnames.\r\nWhat about if you need to show loader instead of a component, while there is a request going on?\r\nThat’s the case with the "}}
{"actor":{"display_login":"kibin"}}