{"action":"created","issue":{"url":"https://api.github.com/repos/Yomguithereal/baobab/issues/315","labels_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/315/comments","events_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/315/events","html_url":"https://github.com/Yomguithereal/baobab/issues/315","id":97983115,"number":315,"title":"v2, component updates not propagated in some cases","user":{"login":"marbemac","id":847542,"avatar_url":"https://avatars.githubusercontent.com/u/847542?v=3","gravatar_id":"","url":"https://api.github.com/users/marbemac","html_url":"https://github.com/marbemac","followers_url":"https://api.github.com/users/marbemac/followers","following_url":"https://api.github.com/users/marbemac/following{/other_user}","gists_url":"https://api.github.com/users/marbemac/gists{/gist_id}","starred_url":"https://api.github.com/users/marbemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbemac/subscriptions","organizations_url":"https://api.github.com/users/marbemac/orgs","repos_url":"https://api.github.com/users/marbemac/repos","events_url":"https://api.github.com/users/marbemac/events{/privacy}","received_events_url":"https://api.github.com/users/marbemac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yomguithereal/baobab/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-29T17:08:36Z","updated_at":"2015-07-30T19:03:36Z","closed_at":"2015-07-30T19:03:35Z","body":"Ok so I've been pulling my hair out trying to track this error down in my app, and I finally decided to create an isolated repository that reproduces the issue(s).\r\n\r\nI'm not sure if this is a baobab issue, or a baobab-react issue.\r\n\r\nPlease pull this repository down (it's a very very simple app that uses baobab). Instructions to run it are in the readme.\r\nhttps://github.com/marbemac/baobab-playground\r\n\r\nSteps to reproduce:\r\n1) Type in a username\r\n2) Click submit, error should show up\r\n3) Try and change the username. The baobab tree is correctly updated (type state.get() in the web developer console), but the components (ui) are not updated.\r\n\r\nThis seems to happen when a parent component listens to the same cursor as a child component? If you remove the \"session\" cursor from components/App.jsx, everything will behave as expected. I'm not sure what the underlying issue(s) is with baobab/baobab-react."},"comment":{"url":"https://api.github.com/repos/Yomguithereal/baobab/issues/comments/126440824","html_url":"https://github.com/Yomguithereal/baobab/issues/315#issuecomment-126440824","issue_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/315","id":126440824,"user":{"login":"marbemac","id":847542,"avatar_url":"https://avatars.githubusercontent.com/u/847542?v=3","gravatar_id":"","url":"https://api.github.com/users/marbemac","html_url":"https://github.com/marbemac","followers_url":"https://api.github.com/users/marbemac/followers","following_url":"https://api.github.com/users/marbemac/following{/other_user}","gists_url":"https://api.github.com/users/marbemac/gists{/gist_id}","starred_url":"https://api.github.com/users/marbemac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbemac/subscriptions","organizations_url":"https://api.github.com/users/marbemac/orgs","repos_url":"https://api.github.com/users/marbemac/repos","events_url":"https://api.github.com/users/marbemac/events{/privacy}","received_events_url":"https://api.github.com/users/marbemac/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T19:03:35Z","updated_at":"2015-07-30T19:03:35Z","body":"Awesome, thank you, a whole host of weird behavior in my app is now fixed :)!\r\n\r\nYes, cursors in components = bad - I used them in that playground example simply because it was faster to implement. Thanks again!"}}