{"action":"created","comment":{"url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/comments/94065028","pull_request_review_id":14595253,"id":94065028,"diff_hunk":"@@ -35,21 +35,44 @@ function createState(initState) {\n   };\n }\n \n+class ContextWrapper extends Component {\n+  getChildContext() {\n+    return { store: this.store }\n+  }\n+\n+  constructor(props, context) {\n+    super(props, context);\n+    this.store = props.store\n+  }\n+\n+  render() {\n+    return Children.only(this.props.children)\n+  }\n+}\n+\n+ContextWrapper.childContextTypes = {\n+  store: React.PropTypes.any\n+};\n+\n export default class Engine extends Component {\n   constructor(props, context) {\n     super(props, context);\n     this.state = createState(props.initState);\n+\n+    this.updateComponentState = this.updateComponentState.bind(this);\n+\n+    sagaMiddleware.run(watchReadPerform);\n+    this.state.store.subscribe(this.updateComponentState);\n   }\n \n   updateComponentState() {","path":"src/engine/engine.js","position":42,"original_position":42,"commit_id":"36253a7f36db6bf89071f46924838433b33db235","original_commit_id":"36253a7f36db6bf89071f46924838433b33db235","user":{"login":"andon","id":1130655,"avatar_url":"https://avatars.githubusercontent.com/u/1130655?v=3","gravatar_id":"","url":"https://api.github.com/users/andon","html_url":"https://github.com/andon","followers_url":"https://api.github.com/users/andon/followers","following_url":"https://api.github.com/users/andon/following{/other_user}","gists_url":"https://api.github.com/users/andon/gists{/gist_id}","starred_url":"https://api.github.com/users/andon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andon/subscriptions","organizations_url":"https://api.github.com/users/andon/orgs","repos_url":"https://api.github.com/users/andon/repos","events_url":"https://api.github.com/users/andon/events{/privacy}","received_events_url":"https://api.github.com/users/andon/received_events","type":"User","site_admin":false},"body":"This method should be removed. Instead of, on subscription we should trigger this.forceUpdate(), so that triggers / propagates the changes.","created_at":"2016-12-28T18:53:16Z","updated_at":"2016-12-28T18:53:38Z","html_url":"https://github.com/netceteragroup/girders-elements/pull/19#discussion_r94065028","pull_request_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/comments/94065028"},"html":{"href":"https://github.com/netceteragroup/girders-elements/pull/19#discussion_r94065028"},"pull_request":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19","id":99523837,"html_url":"https://github.com/netceteragroup/girders-elements/pull/19","diff_url":"https://github.com/netceteragroup/girders-elements/pull/19.diff","patch_url":"https://github.com/netceteragroup/girders-elements/pull/19.patch","issue_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/19","number":19,"state":"open","locked":false,"title":"Remove react-redux from engine","user":{"login":"bPopovska","id":894530,"avatar_url":"https://avatars.githubusercontent.com/u/894530?v=3","gravatar_id":"","url":"https://api.github.com/users/bPopovska","html_url":"https://github.com/bPopovska","followers_url":"https://api.github.com/users/bPopovska/followers","following_url":"https://api.github.com/users/bPopovska/following{/other_user}","gists_url":"https://api.github.com/users/bPopovska/gists{/gist_id}","starred_url":"https://api.github.com/users/bPopovska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bPopovska/subscriptions","organizations_url":"https://api.github.com/users/bPopovska/orgs","repos_url":"https://api.github.com/users/bPopovska/repos","events_url":"https://api.github.com/users/bPopovska/events{/privacy}","received_events_url":"https://api.github.com/users/bPopovska/received_events","type":"User","site_admin":false},"body":"Remove react-redux from engine and use the redux store API to subscribe to the store","created_at":"2016-12-28T08:54:29Z","updated_at":"2016-12-28T18:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd98b3fb2fc624466aeaed3e2bba515b0cc6d1e0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19/commits","review_comments_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19/comments","review_comment_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/19/comments","statuses_url":"https://api.github.com/repos/netceteragroup/girders-elements/statuses/36253a7f36db6bf89071f46924838433b33db235","head":{"label":"netceteragroup:issue_17_drop_react_redux","ref":"issue_17_drop_react_redux","sha":"36253a7f36db6bf89071f46924838433b33db235","user":{"login":"netceteragroup","id":1321788,"avatar_url":"https://avatars.githubusercontent.com/u/1321788?v=3","gravatar_id":"","url":"https://api.github.com/users/netceteragroup","html_url":"https://github.com/netceteragroup","followers_url":"https://api.github.com/users/netceteragroup/followers","following_url":"https://api.github.com/users/netceteragroup/following{/other_user}","gists_url":"https://api.github.com/users/netceteragroup/gists{/gist_id}","starred_url":"https://api.github.com/users/netceteragroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netceteragroup/subscriptions","organizations_url":"https://api.github.com/users/netceteragroup/orgs","repos_url":"https://api.github.com/users/netceteragroup/repos","events_url":"https://api.github.com/users/netceteragroup/events{/privacy}","received_events_url":"https://api.github.com/users/netceteragroup/received_events","type":"Organization","site_admin":false},"repo":{"id":63241752,"name":"girders-elements","full_name":"netceteragroup/girders-elements","owner":{"login":"netceteragroup","id":1321788,"avatar_url":"https://avatars.githubusercontent.com/u/1321788?v=3","gravatar_id":"","url":"https://api.github.com/users/netceteragroup","html_url":"https://github.com/netceteragroup","followers_url":"https://api.github.com/users/netceteragroup/followers","following_url":"https://api.github.com/users/netceteragroup/following{/other_user}","gists_url":"https://api.github.com/users/netceteragroup/gists{/gist_id}","starred_url":"https://api.github.com/users/netceteragroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netceteragroup/subscriptions","organizations_url":"https://api.github.com/users/netceteragroup/orgs","repos_url":"https://api.github.com/users/netceteragroup/repos","events_url":"https://api.github.com/users/netceteragroup/events{/privacy}","received_events_url":"https://api.github.com/users/netceteragroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netceteragroup/girders-elements","description":"Architectural framework that assists building data-driven apps with React or React Native.","fork":false,"url":"https://api.github.com/repos/netceteragroup/girders-elements","forks_url":"https://api.github.com/repos/netceteragroup/girders-elements/forks","keys_url":"https://api.github.com/repos/netceteragroup/girders-elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netceteragroup/girders-elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netceteragroup/girders-elements/teams","hooks_url":"https://api.github.com/repos/netceteragroup/girders-elements/hooks","issue_events_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/events{/number}","events_url":"https://api.github.com/repos/netceteragroup/girders-elements/events","assignees_url":"https://api.github.com/repos/netceteragroup/girders-elements/assignees{/user}","branches_url":"https://api.github.com/repos/netceteragroup/girders-elements/branches{/branch}","tags_url":"https://api.github.com/repos/netceteragroup/girders-elements/tags","blobs_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netceteragroup/girders-elements/statuses/{sha}","languages_url":"https://api.github.com/repos/netceteragroup/girders-elements/languages","stargazers_url":"https://api.github.com/repos/netceteragroup/girders-elements/stargazers","contributors_url":"https://api.github.com/repos/netceteragroup/girders-elements/contributors","subscribers_url":"https://api.github.com/repos/netceteragroup/girders-elements/subscribers","subscription_url":"https://api.github.com/repos/netceteragroup/girders-elements/subscription","commits_url":"https://api.github.com/repos/netceteragroup/girders-elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/netceteragroup/girders-elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/netceteragroup/girders-elements/contents/{+path}","compare_url":"https://api.github.com/repos/netceteragroup/girders-elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netceteragroup/girders-elements/merges","archive_url":"https://api.github.com/repos/netceteragroup/girders-elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netceteragroup/girders-elements/downloads","issues_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues{/number}","pulls_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls{/number}","milestones_url":"https://api.github.com/repos/netceteragroup/girders-elements/milestones{/number}","notifications_url":"https://api.github.com/repos/netceteragroup/girders-elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netceteragroup/girders-elements/labels{/name}","releases_url":"https://api.github.com/repos/netceteragroup/girders-elements/releases{/id}","deployments_url":"https://api.github.com/repos/netceteragroup/girders-elements/deployments","created_at":"2016-07-13T11:51:22Z","updated_at":"2016-11-23T19:42:03Z","pushed_at":"2016-12-28T09:47:16Z","git_url":"git://github.com/netceteragroup/girders-elements.git","ssh_url":"git@github.com:netceteragroup/girders-elements.git","clone_url":"https://github.com/netceteragroup/girders-elements.git","svn_url":"https://github.com/netceteragroup/girders-elements","homepage":"","size":143,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":9,"default_branch":"master"}},"base":{"label":"netceteragroup:develop","ref":"develop","sha":"d01136d921ec73f2c09d9bb3a748684670a82db4","user":{"login":"netceteragroup","id":1321788,"avatar_url":"https://avatars.githubusercontent.com/u/1321788?v=3","gravatar_id":"","url":"https://api.github.com/users/netceteragroup","html_url":"https://github.com/netceteragroup","followers_url":"https://api.github.com/users/netceteragroup/followers","following_url":"https://api.github.com/users/netceteragroup/following{/other_user}","gists_url":"https://api.github.com/users/netceteragroup/gists{/gist_id}","starred_url":"https://api.github.com/users/netceteragroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netceteragroup/subscriptions","organizations_url":"https://api.github.com/users/netceteragroup/orgs","repos_url":"https://api.github.com/users/netceteragroup/repos","events_url":"https://api.github.com/users/netceteragroup/events{/privacy}","received_events_url":"https://api.github.com/users/netceteragroup/received_events","type":"Organization","site_admin":false},"repo":{"id":63241752,"name":"girders-elements","full_name":"netceteragroup/girders-elements","owner":{"login":"netceteragroup","id":1321788,"avatar_url":"https://avatars.githubusercontent.com/u/1321788?v=3","gravatar_id":"","url":"https://api.github.com/users/netceteragroup","html_url":"https://github.com/netceteragroup","followers_url":"https://api.github.com/users/netceteragroup/followers","following_url":"https://api.github.com/users/netceteragroup/following{/other_user}","gists_url":"https://api.github.com/users/netceteragroup/gists{/gist_id}","starred_url":"https://api.github.com/users/netceteragroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netceteragroup/subscriptions","organizations_url":"https://api.github.com/users/netceteragroup/orgs","repos_url":"https://api.github.com/users/netceteragroup/repos","events_url":"https://api.github.com/users/netceteragroup/events{/privacy}","received_events_url":"https://api.github.com/users/netceteragroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netceteragroup/girders-elements","description":"Architectural framework that assists building data-driven apps with React or React Native.","fork":false,"url":"https://api.github.com/repos/netceteragroup/girders-elements","forks_url":"https://api.github.com/repos/netceteragroup/girders-elements/forks","keys_url":"https://api.github.com/repos/netceteragroup/girders-elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netceteragroup/girders-elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netceteragroup/girders-elements/teams","hooks_url":"https://api.github.com/repos/netceteragroup/girders-elements/hooks","issue_events_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/events{/number}","events_url":"https://api.github.com/repos/netceteragroup/girders-elements/events","assignees_url":"https://api.github.com/repos/netceteragroup/girders-elements/assignees{/user}","branches_url":"https://api.github.com/repos/netceteragroup/girders-elements/branches{/branch}","tags_url":"https://api.github.com/repos/netceteragroup/girders-elements/tags","blobs_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netceteragroup/girders-elements/statuses/{sha}","languages_url":"https://api.github.com/repos/netceteragroup/girders-elements/languages","stargazers_url":"https://api.github.com/repos/netceteragroup/girders-elements/stargazers","contributors_url":"https://api.github.com/repos/netceteragroup/girders-elements/contributors","subscribers_url":"https://api.github.com/repos/netceteragroup/girders-elements/subscribers","subscription_url":"https://api.github.com/repos/netceteragroup/girders-elements/subscription","commits_url":"https://api.github.com/repos/netceteragroup/girders-elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/netceteragroup/girders-elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/netceteragroup/girders-elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/netceteragroup/girders-elements/contents/{+path}","compare_url":"https://api.github.com/repos/netceteragroup/girders-elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netceteragroup/girders-elements/merges","archive_url":"https://api.github.com/repos/netceteragroup/girders-elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netceteragroup/girders-elements/downloads","issues_url":"https://api.github.com/repos/netceteragroup/girders-elements/issues{/number}","pulls_url":"https://api.github.com/repos/netceteragroup/girders-elements/pulls{/number}","milestones_url":"https://api.github.com/repos/netceteragroup/girders-elements/milestones{/number}","notifications_url":"https://api.github.com/repos/netceteragroup/girders-elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netceteragroup/girders-elements/labels{/name}","releases_url":"https://api.github.com/repos/netceteragroup/girders-elements/releases{/id}","deployments_url":"https://api.github.com/repos/netceteragroup/girders-elements/deployments","created_at":"2016-07-13T11:51:22Z","updated_at":"2016-11-23T19:42:03Z","pushed_at":"2016-12-28T09:47:16Z","git_url":"git://github.com/netceteragroup/girders-elements.git","ssh_url":"git@github.com:netceteragroup/girders-elements.git","clone_url":"https://github.com/netceteragroup/girders-elements.git","svn_url":"https://github.com/netceteragroup/girders-elements","homepage":"","size":143,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19"},"html":{"href":"https://github.com/netceteragroup/girders-elements/pull/19"},"issue":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/issues/19"},"comments":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/netceteragroup/girders-elements/statuses/36253a7f36db6bf89071f46924838433b33db235"}}}}
{"actor":{"display_login":"andon"}}