{"action":"created","issue":{"url":"https://api.github.com/repos/staltz/cycle/issues/87","labels_url":"https://api.github.com/repos/staltz/cycle/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/staltz/cycle/issues/87/comments","events_url":"https://api.github.com/repos/staltz/cycle/issues/87/events","html_url":"https://github.com/staltz/cycle/issues/87","id":63249312,"number":87,"title":"Strange event bug","user":{"login":"ivan-kleshnin","id":2128182,"avatar_url":"https://avatars.githubusercontent.com/u/2128182?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-kleshnin","html_url":"https://github.com/ivan-kleshnin","followers_url":"https://api.github.com/users/ivan-kleshnin/followers","following_url":"https://api.github.com/users/ivan-kleshnin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-kleshnin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-kleshnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-kleshnin/subscriptions","organizations_url":"https://api.github.com/users/ivan-kleshnin/orgs","repos_url":"https://api.github.com/users/ivan-kleshnin/repos","events_url":"https://api.github.com/users/ivan-kleshnin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-kleshnin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/staltz/cycle/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-20T15:28:30Z","updated_at":"2015-03-20T22:14:58Z","closed_at":null,"body":"I discovered strange bug which may be either related CycleJS or some tricky case in my own code. \r\nOr even be a bug in virtual DOM. I don't know yet.\r\n\r\nIn example with multiple sliders (e.g. this https://github.com/ivan-kleshnin/cyclejs-examples/tree/master/src/3.4-slider-colors) sliders not always react on deletion.\r\n`Slider` sends `remove` event but global `Intent` does not get it.\r\n\r\nVideo proof: https://docs.google.com/file/d/0B9bW0B92XgnASmNTbzZWM216cWM/edit\r\n\r\nThe strangest thing about it is that this behavior looks undeterministic. That's why I say there is a chance about some desync between virtual DOM nodes. Sometimes it works and sometimes not. The only fact I found by trial is that first render works ok. Removals before first addition worked in 100% cases.\r\n"},"comment":{"url":"https://api.github.com/repos/staltz/cycle/issues/comments/84167625","html_url":"https://github.com/staltz/cycle/issues/87#issuecomment-84167625","issue_url":"https://api.github.com/repos/staltz/cycle/issues/87","id":84167625,"user":{"login":"staltz","id":90512,"avatar_url":"https://avatars.githubusercontent.com/u/90512?v=3","gravatar_id":"","url":"https://api.github.com/users/staltz","html_url":"https://github.com/staltz","followers_url":"https://api.github.com/users/staltz/followers","following_url":"https://api.github.com/users/staltz/following{/other_user}","gists_url":"https://api.github.com/users/staltz/gists{/gist_id}","starred_url":"https://api.github.com/users/staltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staltz/subscriptions","organizations_url":"https://api.github.com/users/staltz/orgs","repos_url":"https://api.github.com/users/staltz/repos","events_url":"https://api.github.com/users/staltz/events{/privacy}","received_events_url":"https://api.github.com/users/staltz/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T22:14:58Z","updated_at":"2015-03-20T22:14:58Z","body":"Good news: I found a proper fix for the bug.\r\nNot so good news: I'm going to take more time to make proper automated tests for these stuff, and won't release the bug fix before I have these tests, so you will have to wait a bit until the tests + bug fixes are ready."}}