{"action":"created","issue":{"url":"https://api.github.com/repos/survivejs/webpack_react/issues/20","labels_url":"https://api.github.com/repos/survivejs/webpack_react/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/survivejs/webpack_react/issues/20/comments","events_url":"https://api.github.com/repos/survivejs/webpack_react/issues/20/events","html_url":"https://github.com/survivejs/webpack_react/issues/20","id":73690381,"number":20,"title":"Push baobab Notes to root level?","user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-06T17:50:43Z","updated_at":"2015-06-24T14:16:43Z","closed_at":"2015-06-24T12:42:00Z","body":"Possible structure (thanks to @gaearon):\r\n\r\n```javascript\r\nlanesById: { // { laneId -> lane }\r\n  1: { id: 1, name: 'Lane' },\r\n  2: { id: 2, name: 'Other Lane' }\r\n},\r\nnotesById: { // { noteId -> note }\r\n  1: { id: 1, name: 'Note' },\r\n  2: { id: 2, name: 'Other Note' },\r\n  3: { id: 3, name: 'Yet Another Note' },\r\n},\r\nlaneOrder: [2, 1], // [laneId*]\r\nnoteOrder: { // { laneId -> [noteId*] }\r\n  1: [2, 1],\r\n  2: [3]\r\n}\r\n```\r\n\r\nI need to see if [facets](https://github.com/Yomguithereal/baobab#facets) can be used to provide a nicer API and hide id stuff from components. I wonder if those are dynamic enough."},"comment":{"url":"https://api.github.com/repos/survivejs/webpack_react/issues/comments/114883328","html_url":"https://github.com/survivejs/webpack_react/issues/20#issuecomment-114883328","issue_url":"https://api.github.com/repos/survivejs/webpack_react/issues/20","id":114883328,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T14:16:43Z","updated_at":"2015-06-24T14:16:43Z","body":"@bebraw Want to try Redux? It's single state tree under the hood, but no cursors—looks very similar to Flux. Awesome devtools are coming too."}}