{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/neo/pulls/comments/64482367","id":64482367,"diff_hunk":"@@ -32,41 +32,38 @@ let devtoolsStore = IS_PROD ? undefined : compose(\n   persistState(location.href.match(/[?&]debug_session=([^&]+)\\b/))\n );\n \n-export const create = (reducers = {}, initialState = {}) => {\n+export default ({ reducers = {}, initialState={}, routes = [], Layout = NOOP }) => {\n   const frozen = Immutable.fromJS(initialState);\n   const routing = (state = frozen, action) => {\n     return action.type === LOCATION_CHANGE ?\n       state.merge({ locationBeforeTransitions: action.payload }) :\n       state;\n   };\n+\n   const store = createStore(\n     combineReducers({ ...reducers, routing }),\n     frozen,\n     devtoolsStore\n   );\n+\n   const history = syncHistoryWithStore(browserHistory, store, {\n-    selectLocationState: state => state.get('routing').toJS()\n+    selectLocationState: state => state.has('routing') ? state.get('routing').toJS() : null\n   });\n \n-  return { store, history };\n-};\n-\n-export const render = (app, Layout, routes, rootElement = document.getElementById('root')) => {\n-  const LayoutWrapper = (props) => (\n-    <div id=\"wrapper\">\n-      <Layout {...props} />\n-      <DevTools />\n-    </div>\n-  );\n-\n-  ReactDOM.render(\n-    <Provider store={app.store}>\n-      <Router history={app.history}>\n-        <Route component={LayoutWrapper}>\n-          {routes.map(route => <Route key={route.path} path={route.path} component={route.component} />)}\n-        </Route>\n-      </Router>\n-    </Provider>,\n-    rootElement\n-  );\n+  return {\n+    store,\n+    history,\n+    render(rootElement = document.getElementById('root')) {\n+      ReactDOM.render(\n+        <Provider store={store}>\n+           <Router history={history}>","path":"src/app.js","position":60,"original_position":60,"commit_id":"2ef9adf03ae1df4ed8401eaa5c665c9b8c53f3ac","original_commit_id":"2ef9adf03ae1df4ed8401eaa5c665c9b8c53f3ac","user":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"body":":) i need to get my vim plugins for javascript in order","created_at":"2016-05-24T21:59:43Z","updated_at":"2016-05-24T21:59:43Z","html_url":"https://github.com/taskcluster/neo/pull/9#discussion_r64482367","pull_request_url":"https://api.github.com/repos/taskcluster/neo/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/comments/64482367"},"html":{"href":"https://github.com/taskcluster/neo/pull/9#discussion_r64482367"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/neo/pulls/9","id":70610360,"html_url":"https://github.com/taskcluster/neo/pull/9","diff_url":"https://github.com/taskcluster/neo/pull/9.diff","patch_url":"https://github.com/taskcluster/neo/pull/9.patch","issue_url":"https://api.github.com/repos/taskcluster/neo/issues/9","number":9,"state":"open","locked":false,"title":"move render method to webpack's config","user":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-18T22:31:04Z","updated_at":"2016-05-24T21:59:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d23dfcea8292603452a1450965cff5fa629fe108","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/neo/pulls/9/commits","review_comments_url":"https://api.github.com/repos/taskcluster/neo/pulls/9/comments","review_comment_url":"https://api.github.com/repos/taskcluster/neo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/neo/issues/9/comments","statuses_url":"https://api.github.com/repos/taskcluster/neo/statuses/2ef9adf03ae1df4ed8401eaa5c665c9b8c53f3ac","head":{"label":"garbas:master","ref":"master","sha":"2ef9adf03ae1df4ed8401eaa5c665c9b8c53f3ac","user":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"repo":{"id":57973496,"name":"neo","full_name":"garbas/neo","owner":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garbas/neo","description":"","fork":true,"url":"https://api.github.com/repos/garbas/neo","forks_url":"https://api.github.com/repos/garbas/neo/forks","keys_url":"https://api.github.com/repos/garbas/neo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garbas/neo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garbas/neo/teams","hooks_url":"https://api.github.com/repos/garbas/neo/hooks","issue_events_url":"https://api.github.com/repos/garbas/neo/issues/events{/number}","events_url":"https://api.github.com/repos/garbas/neo/events","assignees_url":"https://api.github.com/repos/garbas/neo/assignees{/user}","branches_url":"https://api.github.com/repos/garbas/neo/branches{/branch}","tags_url":"https://api.github.com/repos/garbas/neo/tags","blobs_url":"https://api.github.com/repos/garbas/neo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garbas/neo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garbas/neo/git/refs{/sha}","trees_url":"https://api.github.com/repos/garbas/neo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garbas/neo/statuses/{sha}","languages_url":"https://api.github.com/repos/garbas/neo/languages","stargazers_url":"https://api.github.com/repos/garbas/neo/stargazers","contributors_url":"https://api.github.com/repos/garbas/neo/contributors","subscribers_url":"https://api.github.com/repos/garbas/neo/subscribers","subscription_url":"https://api.github.com/repos/garbas/neo/subscription","commits_url":"https://api.github.com/repos/garbas/neo/commits{/sha}","git_commits_url":"https://api.github.com/repos/garbas/neo/git/commits{/sha}","comments_url":"https://api.github.com/repos/garbas/neo/comments{/number}","issue_comment_url":"https://api.github.com/repos/garbas/neo/issues/comments{/number}","contents_url":"https://api.github.com/repos/garbas/neo/contents/{+path}","compare_url":"https://api.github.com/repos/garbas/neo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garbas/neo/merges","archive_url":"https://api.github.com/repos/garbas/neo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garbas/neo/downloads","issues_url":"https://api.github.com/repos/garbas/neo/issues{/number}","pulls_url":"https://api.github.com/repos/garbas/neo/pulls{/number}","milestones_url":"https://api.github.com/repos/garbas/neo/milestones{/number}","notifications_url":"https://api.github.com/repos/garbas/neo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garbas/neo/labels{/name}","releases_url":"https://api.github.com/repos/garbas/neo/releases{/id}","deployments_url":"https://api.github.com/repos/garbas/neo/deployments","created_at":"2016-05-03T13:59:53Z","updated_at":"2016-05-03T13:59:54Z","pushed_at":"2016-05-24T21:16:57Z","git_url":"git://github.com/garbas/neo.git","ssh_url":"git@github.com:garbas/neo.git","clone_url":"https://github.com/garbas/neo.git","svn_url":"https://github.com/garbas/neo","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"2481b07b019815cda1444ed892a2c41ae5b38411","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":57921811,"name":"neo","full_name":"taskcluster/neo","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/neo","description":"Scaffold out a React-based front-end application with zero initial configuration","fork":false,"url":"https://api.github.com/repos/taskcluster/neo","forks_url":"https://api.github.com/repos/taskcluster/neo/forks","keys_url":"https://api.github.com/repos/taskcluster/neo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/neo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/neo/teams","hooks_url":"https://api.github.com/repos/taskcluster/neo/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/neo/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/neo/events","assignees_url":"https://api.github.com/repos/taskcluster/neo/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/neo/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/neo/tags","blobs_url":"https://api.github.com/repos/taskcluster/neo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/neo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/neo/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/neo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/neo/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/neo/languages","stargazers_url":"https://api.github.com/repos/taskcluster/neo/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/neo/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/neo/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/neo/subscription","commits_url":"https://api.github.com/repos/taskcluster/neo/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/neo/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/neo/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/neo/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/neo/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/neo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/neo/merges","archive_url":"https://api.github.com/repos/taskcluster/neo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/neo/downloads","issues_url":"https://api.github.com/repos/taskcluster/neo/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/neo/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/neo/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/neo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/neo/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/neo/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/neo/deployments","created_at":"2016-05-02T21:11:47Z","updated_at":"2016-05-17T17:52:04Z","pushed_at":"2016-05-24T21:16:58Z","git_url":"git://github.com/taskcluster/neo.git","ssh_url":"git@github.com:taskcluster/neo.git","clone_url":"https://github.com/taskcluster/neo.git","svn_url":"https://github.com/taskcluster/neo","homepage":"","size":53,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/9"},"html":{"href":"https://github.com/taskcluster/neo/pull/9"},"issue":{"href":"https://api.github.com/repos/taskcluster/neo/issues/9"},"comments":{"href":"https://api.github.com/repos/taskcluster/neo/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/neo/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/neo/statuses/2ef9adf03ae1df4ed8401eaa5c665c9b8c53f3ac"}}}}
{"actor":{"display_login":"garbas"}}