{"action":"created","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/135","repository_url":"https://api.github.com/repos/mobxjs/mobx-state-tree","labels_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/135/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/135/events","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/135","id":229962236,"number":135,"title":"Cerebral and Mobx-State-Tree on a blind date :-)","user":{"login":"christianalfoni","id":3956929,"avatar_url":"https://avatars2.githubusercontent.com/u/3956929?v=3","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-19T12:37:14Z","updated_at":"2017-05-19T12:54:18Z","closed_at":null,"body":"Hi there,\r\n\r\nI have been looking into mobx-state-tree and hooking it up to [Cerebral](http://www.cerebraljs.com), great work! :-)\r\n\r\nCerebral currently has its own state-tree implementation, though it does not have the restrictions of mobx-state-tree that many developers want. At the same time Cerebral is focused on the business logic and composable state changes and side effects, which could be a good mix with mobx-state-tree. Here is a [video of the debugger](https://youtu.be/uhuLxs8-zP4?t=17m45s)\r\n\r\nI basically have it working, though I have two questions, which I would suggest is a general challenge with external debuggers:\r\n\r\n1. When I make a state change to relational data, is there any way to know what parts of the state tree updated? I understand this functionality is restricted, but not completely?\r\n\r\n2. When I make a state change that affects a `getter`, is there any way to know that? \r\n\r\nThe reason I ask this is because Cerebral has an Electron app as a debugger, which requires serializable data to be passed over and the state changes are reproduced. But currently it only knows about the exact state update you do, not any `getters` updating or relational nodes updating because of it :-)\r\n\r\nThanks and keep up with the state innovation :-D"},"comment":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/comments/302695034","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/135#issuecomment-302695034","issue_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/135","id":302695034,"user":{"login":"mattiamanzati","id":13787614,"avatar_url":"https://avatars2.githubusercontent.com/u/13787614?v=3","gravatar_id":"","url":"https://api.github.com/users/mattiamanzati","html_url":"https://github.com/mattiamanzati","followers_url":"https://api.github.com/users/mattiamanzati/followers","following_url":"https://api.github.com/users/mattiamanzati/following{/other_user}","gists_url":"https://api.github.com/users/mattiamanzati/gists{/gist_id}","starred_url":"https://api.github.com/users/mattiamanzati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattiamanzati/subscriptions","organizations_url":"https://api.github.com/users/mattiamanzati/orgs","repos_url":"https://api.github.com/users/mattiamanzati/repos","events_url":"https://api.github.com/users/mattiamanzati/events{/privacy}","received_events_url":"https://api.github.com/users/mattiamanzati/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T12:54:18Z","updated_at":"2017-05-19T12:54:18Z","body":"Uhm, no at the moment the only way to know that is by watching snapshot. Do you really need to send to the debugger computed values? Like actions they should not be present in snapshot, so they are considered some sort of \"views\" that changes over time :)"}}
{"actor":{"display_login":"mattiamanzati"}}