{"action":"created","comment":{"url":"https://api.github.com/repos/steemit/condenser/pulls/comments/151731930","pull_request_review_id":77490199,"id":151731930,"diff_hunk":"@@ -1,40 +1,29 @@\n import {Map} from 'immutable';\n-import createModule from 'redux-modules';\n-\n-\n-export default createModule({\n-    name: 'market',\n-    initialState: Map({status: {}}),\n-    transformations: [\n-        {\n-            action: 'RECEIVE_ORDERBOOK',\n-            reducer: (state, action) => {\n-                return state.set('orderbook', action.payload);\n-            }\n-        },\n-        {\n-            action: 'RECEIVE_TICKER',\n-            reducer: (state, action) => {\n-                return state.set('ticker', action.payload);\n-            }\n-        },\n-        {\n-            action: 'RECEIVE_OPEN_ORDERS',\n-            reducer: (state, action) => {\n-                return state.set('open_orders', action.payload);\n-            }\n-        },\n-        {\n-            action: 'RECEIVE_TRADE_HISTORY',\n-            reducer: (state, action) => {\n-                return state.set('history', action.payload);\n-            }\n-        },\n-        {\n-            action: 'APPEND_TRADE_HISTORY',\n-            reducer: (state, action) => {\n-                return state.set('history', [...action.payload, ...state.get('history')]);\n-            }\n-        }\n-    ]\n-});\n+\n+const defaultState = Map({status: {}});\n+\n+export default function reducer(state = defaultState, action) {\n+    const payload = action.payload;\n+\n+    if (action.type === 'market/RECEIVE_ORDERBOOK') {","path":"src/app/redux/MarketReducer.js","position":47,"original_position":47,"commit_id":"bc50a706ff5d653634bd18fb517ecc1b3244e866","original_commit_id":"bc50a706ff5d653634bd18fb517ecc1b3244e866","user":{"login":"goldibex","id":179067,"avatar_url":"https://avatars2.githubusercontent.com/u/179067?v=4","gravatar_id":"","url":"https://api.github.com/users/goldibex","html_url":"https://github.com/goldibex","followers_url":"https://api.github.com/users/goldibex/followers","following_url":"https://api.github.com/users/goldibex/following{/other_user}","gists_url":"https://api.github.com/users/goldibex/gists{/gist_id}","starred_url":"https://api.github.com/users/goldibex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldibex/subscriptions","organizations_url":"https://api.github.com/users/goldibex/orgs","repos_url":"https://api.github.com/users/goldibex/repos","events_url":"https://api.github.com/users/goldibex/events{/privacy}","received_events_url":"https://api.github.com/users/goldibex/received_events","type":"User","site_admin":false},"body":"`switch`","created_at":"2017-11-17T16:40:00Z","updated_at":"2017-11-17T16:45:04Z","html_url":"https://github.com/steemit/condenser/pull/2020#discussion_r151731930","pull_request_url":"https://api.github.com/repos/steemit/condenser/pulls/2020","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/steemit/condenser/pulls/comments/151731930"},"html":{"href":"https://github.com/steemit/condenser/pull/2020#discussion_r151731930"},"pull_request":{"href":"https://api.github.com/repos/steemit/condenser/pulls/2020"}}},"pull_request":{"url":"https://api.github.com/repos/steemit/condenser/pulls/2020","id":153329494,"html_url":"https://github.com/steemit/condenser/pull/2020","diff_url":"https://github.com/steemit/condenser/pull/2020.diff","patch_url":"https://github.com/steemit/condenser/pull/2020.patch","issue_url":"https://api.github.com/repos/steemit/condenser/issues/2020","number":2020,"state":"open","locked":false,"title":"remove redux-modules","user":{"login":"bnchdrff","id":99194,"avatar_url":"https://avatars2.githubusercontent.com/u/99194?v=4","gravatar_id":"","url":"https://api.github.com/users/bnchdrff","html_url":"https://github.com/bnchdrff","followers_url":"https://api.github.com/users/bnchdrff/followers","following_url":"https://api.github.com/users/bnchdrff/following{/other_user}","gists_url":"https://api.github.com/users/bnchdrff/gists{/gist_id}","starred_url":"https://api.github.com/users/bnchdrff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnchdrff/subscriptions","organizations_url":"https://api.github.com/users/bnchdrff/orgs","repos_url":"https://api.github.com/users/bnchdrff/repos","events_url":"https://api.github.com/users/bnchdrff/events{/privacy}","received_events_url":"https://api.github.com/users/bnchdrff/received_events","type":"User","site_admin":false},"body":"fixes #1148\r\n\r\nalso, switch to fully immutable typed redux store\r\n\r\nthis single commit squashes all the work from @valzav and me in the remove-redux-modules and webpack3 branches","created_at":"2017-11-17T15:48:16Z","updated_at":"2017-11-17T16:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74990fd50fdec862109d7d9f42a360b25f88f968","assignee":null,"assignees":[],"requested_reviewers":[{"login":"valzav","id":28658,"avatar_url":"https://avatars1.githubusercontent.com/u/28658?v=4","gravatar_id":"","url":"https://api.github.com/users/valzav","html_url":"https://github.com/valzav","followers_url":"https://api.github.com/users/valzav/followers","following_url":"https://api.github.com/users/valzav/following{/other_user}","gists_url":"https://api.github.com/users/valzav/gists{/gist_id}","starred_url":"https://api.github.com/users/valzav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valzav/subscriptions","organizations_url":"https://api.github.com/users/valzav/orgs","repos_url":"https://api.github.com/users/valzav/repos","events_url":"https://api.github.com/users/valzav/events{/privacy}","received_events_url":"https://api.github.com/users/valzav/received_events","type":"User","site_admin":false},{"login":"relativityboy","id":599528,"avatar_url":"https://avatars2.githubusercontent.com/u/599528?v=4","gravatar_id":"","url":"https://api.github.com/users/relativityboy","html_url":"https://github.com/relativityboy","followers_url":"https://api.github.com/users/relativityboy/followers","following_url":"https://api.github.com/users/relativityboy/following{/other_user}","gists_url":"https://api.github.com/users/relativityboy/gists{/gist_id}","starred_url":"https://api.github.com/users/relativityboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relativityboy/subscriptions","organizations_url":"https://api.github.com/users/relativityboy/orgs","repos_url":"https://api.github.com/users/relativityboy/repos","events_url":"https://api.github.com/users/relativityboy/events{/privacy}","received_events_url":"https://api.github.com/users/relativityboy/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/steemit/condenser/pulls/2020/commits","review_comments_url":"https://api.github.com/repos/steemit/condenser/pulls/2020/comments","review_comment_url":"https://api.github.com/repos/steemit/condenser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/steemit/condenser/issues/2020/comments","statuses_url":"https://api.github.com/repos/steemit/condenser/statuses/bc50a706ff5d653634bd18fb517ecc1b3244e866","head":{"label":"steemit:remove-redux-modules-squashed","ref":"remove-redux-modules-squashed","sha":"bc50a706ff5d653634bd18fb517ecc1b3244e866","user":{"login":"steemit","id":17434692,"avatar_url":"https://avatars3.githubusercontent.com/u/17434692?v=4","gravatar_id":"","url":"https://api.github.com/users/steemit","html_url":"https://github.com/steemit","followers_url":"https://api.github.com/users/steemit/followers","following_url":"https://api.github.com/users/steemit/following{/other_user}","gists_url":"https://api.github.com/users/steemit/gists{/gist_id}","starred_url":"https://api.github.com/users/steemit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steemit/subscriptions","organizations_url":"https://api.github.com/users/steemit/orgs","repos_url":"https://api.github.com/users/steemit/repos","events_url":"https://api.github.com/users/steemit/events{/privacy}","received_events_url":"https://api.github.com/users/steemit/received_events","type":"Organization","site_admin":false},"repo":{"id":59213335,"name":"condenser","full_name":"steemit/condenser","owner":{"login":"steemit","id":17434692,"avatar_url":"https://avatars3.githubusercontent.com/u/17434692?v=4","gravatar_id":"","url":"https://api.github.com/users/steemit","html_url":"https://github.com/steemit","followers_url":"https://api.github.com/users/steemit/followers","following_url":"https://api.github.com/users/steemit/following{/other_user}","gists_url":"https://api.github.com/users/steemit/gists{/gist_id}","starred_url":"https://api.github.com/users/steemit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steemit/subscriptions","organizations_url":"https://api.github.com/users/steemit/orgs","repos_url":"https://api.github.com/users/steemit/repos","events_url":"https://api.github.com/users/steemit/events{/privacy}","received_events_url":"https://api.github.com/users/steemit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/steemit/condenser","description":"The social application web front-end to the Steem Blockchain.","fork":false,"url":"https://api.github.com/repos/steemit/condenser","forks_url":"https://api.github.com/repos/steemit/condenser/forks","keys_url":"https://api.github.com/repos/steemit/condenser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steemit/condenser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steemit/condenser/teams","hooks_url":"https://api.github.com/repos/steemit/condenser/hooks","issue_events_url":"https://api.github.com/repos/steemit/condenser/issues/events{/number}","events_url":"https://api.github.com/repos/steemit/condenser/events","assignees_url":"https://api.github.com/repos/steemit/condenser/assignees{/user}","branches_url":"https://api.github.com/repos/steemit/condenser/branches{/branch}","tags_url":"https://api.github.com/repos/steemit/condenser/tags","blobs_url":"https://api.github.com/repos/steemit/condenser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steemit/condenser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steemit/condenser/git/refs{/sha}","trees_url":"https://api.github.com/repos/steemit/condenser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steemit/condenser/statuses/{sha}","languages_url":"https://api.github.com/repos/steemit/condenser/languages","stargazers_url":"https://api.github.com/repos/steemit/condenser/stargazers","contributors_url":"https://api.github.com/repos/steemit/condenser/contributors","subscribers_url":"https://api.github.com/repos/steemit/condenser/subscribers","subscription_url":"https://api.github.com/repos/steemit/condenser/subscription","commits_url":"https://api.github.com/repos/steemit/condenser/commits{/sha}","git_commits_url":"https://api.github.com/repos/steemit/condenser/git/commits{/sha}","comments_url":"https://api.github.com/repos/steemit/condenser/comments{/number}","issue_comment_url":"https://api.github.com/repos/steemit/condenser/issues/comments{/number}","contents_url":"https://api.github.com/repos/steemit/condenser/contents/{+path}","compare_url":"https://api.github.com/repos/steemit/condenser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steemit/condenser/merges","archive_url":"https://api.github.com/repos/steemit/condenser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steemit/condenser/downloads","issues_url":"https://api.github.com/repos/steemit/condenser/issues{/number}","pulls_url":"https://api.github.com/repos/steemit/condenser/pulls{/number}","milestones_url":"https://api.github.com/repos/steemit/condenser/milestones{/number}","notifications_url":"https://api.github.com/repos/steemit/condenser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steemit/condenser/labels{/name}","releases_url":"https://api.github.com/repos/steemit/condenser/releases{/id}","deployments_url":"https://api.github.com/repos/steemit/condenser/deployments","created_at":"2016-05-19T14:21:06Z","updated_at":"2017-11-17T03:52:59Z","pushed_at":"2017-11-17T15:48:17Z","git_url":"git://github.com/steemit/condenser.git","ssh_url":"git@github.com:steemit/condenser.git","clone_url":"https://github.com/steemit/condenser.git","svn_url":"https://github.com/steemit/condenser","homepage":"https://steemit.com","size":7083,"stargazers_count":224,"watchers_count":224,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":204,"mirror_url":null,"archived":false,"open_issues_count":227,"forks":204,"open_issues":227,"watchers":224,"default_branch":"master"}},"base":{"label":"steemit:master","ref":"master","sha":"741f2d4c2d5b4e50c8a2d6009d4299ada1073e3a","user":{"login":"steemit","id":17434692,"avatar_url":"https://avatars3.githubusercontent.com/u/17434692?v=4","gravatar_id":"","url":"https://api.github.com/users/steemit","html_url":"https://github.com/steemit","followers_url":"https://api.github.com/users/steemit/followers","following_url":"https://api.github.com/users/steemit/following{/other_user}","gists_url":"https://api.github.com/users/steemit/gists{/gist_id}","starred_url":"https://api.github.com/users/steemit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steemit/subscriptions","organizations_url":"https://api.github.com/users/steemit/orgs","repos_url":"https://api.github.com/users/steemit/repos","events_url":"https://api.github.com/users/steemit/events{/privacy}","received_events_url":"https://api.github.com/users/steemit/received_events","type":"Organization","site_admin":false},"repo":{"id":59213335,"name":"condenser","full_name":"steemit/condenser","owner":{"login":"steemit","id":17434692,"avatar_url":"https://avatars3.githubusercontent.com/u/17434692?v=4","gravatar_id":"","url":"https://api.github.com/users/steemit","html_url":"https://github.com/steemit","followers_url":"https://api.github.com/users/steemit/followers","following_url":"https://api.github.com/users/steemit/following{/other_user}","gists_url":"https://api.github.com/users/steemit/gists{/gist_id}","starred_url":"https://api.github.com/users/steemit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steemit/subscriptions","organizations_url":"https://api.github.com/users/steemit/orgs","repos_url":"https://api.github.com/users/steemit/repos","events_url":"https://api.github.com/users/steemit/events{/privacy}","received_events_url":"https://api.github.com/users/steemit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/steemit/condenser","description":"The social application web front-end to the Steem Blockchain.","fork":false,"url":"https://api.github.com/repos/steemit/condenser","forks_url":"https://api.github.com/repos/steemit/condenser/forks","keys_url":"https://api.github.com/repos/steemit/condenser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steemit/condenser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steemit/condenser/teams","hooks_url":"https://api.github.com/repos/steemit/condenser/hooks","issue_events_url":"https://api.github.com/repos/steemit/condenser/issues/events{/number}","events_url":"https://api.github.com/repos/steemit/condenser/events","assignees_url":"https://api.github.com/repos/steemit/condenser/assignees{/user}","branches_url":"https://api.github.com/repos/steemit/condenser/branches{/branch}","tags_url":"https://api.github.com/repos/steemit/condenser/tags","blobs_url":"https://api.github.com/repos/steemit/condenser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steemit/condenser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steemit/condenser/git/refs{/sha}","trees_url":"https://api.github.com/repos/steemit/condenser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steemit/condenser/statuses/{sha}","languages_url":"https://api.github.com/repos/steemit/condenser/languages","stargazers_url":"https://api.github.com/repos/steemit/condenser/stargazers","contributors_url":"https://api.github.com/repos/steemit/condenser/contributors","subscribers_url":"https://api.github.com/repos/steemit/condenser/subscribers","subscription_url":"https://api.github.com/repos/steemit/condenser/subscription","commits_url":"https://api.github.com/repos/steemit/condenser/commits{/sha}","git_commits_url":"https://api.github.com/repos/steemit/condenser/git/commits{/sha}","comments_url":"https://api.github.com/repos/steemit/condenser/comments{/number}","issue_comment_url":"https://api.github.com/repos/steemit/condenser/issues/comments{/number}","contents_url":"https://api.github.com/repos/steemit/condenser/contents/{+path}","compare_url":"https://api.github.com/repos/steemit/condenser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steemit/condenser/merges","archive_url":"https://api.github.com/repos/steemit/condenser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steemit/condenser/downloads","issues_url":"https://api.github.com/repos/steemit/condenser/issues{/number}","pulls_url":"https://api.github.com/repos/steemit/condenser/pulls{/number}","milestones_url":"https://api.github.com/repos/steemit/condenser/milestones{/number}","notifications_url":"https://api.github.com/repos/steemit/condenser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steemit/condenser/labels{/name}","releases_url":"https://api.github.com/repos/steemit/condenser/releases{/id}","deployments_url":"https://api.github.com/repos/steemit/condenser/deployments","created_at":"2016-05-19T14:21:06Z","updated_at":"2017-11-17T03:52:59Z","pushed_at":"2017-11-17T15:48:17Z","git_url":"git://github.com/steemit/condenser.git","ssh_url":"git@github.com:steemit/condenser.git","clone_url":"https://github.com/steemit/condenser.git","svn_url":"https://github.com/steemit/condenser","homepage":"https://steemit.com","size":7083,"stargazers_count":224,"watchers_count":224,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":204,"mirror_url":null,"archived":false,"open_issues_count":227,"forks":204,"open_issues":227,"watchers":224,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/steemit/condenser/pulls/2020"},"html":{"href":"https://github.com/steemit/condenser/pull/2020"},"issue":{"href":"https://api.github.com/repos/steemit/condenser/issues/2020"},"comments":{"href":"https://api.github.com/repos/steemit/condenser/issues/2020/comments"},"review_comments":{"href":"https://api.github.com/repos/steemit/condenser/pulls/2020/comments"},"review_comment":{"href":"https://api.github.com/repos/steemit/condenser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/steemit/condenser/pulls/2020/commits"},"statuses":{"href":"https://api.github.com/repos/steemit/condenser/statuses/bc50a706ff5d653634bd18fb517ecc1b3244e866"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"goldibex"}}