{"action":"created","issue":{"url":"https://api.github.com/repos/NervJS/taro/issues/1561","repository_url":"https://api.github.com/repos/NervJS/taro","labels_url":"https://api.github.com/repos/NervJS/taro/issues/1561/labels{/name}","comments_url":"https://api.github.com/repos/NervJS/taro/issues/1561/comments","events_url":"https://api.github.com/repos/NervJS/taro/issues/1561/events","html_url":"https://github.com/NervJS/taro/issues/1561","id":391986555,"node_id":"MDU6SXNzdWUzOTE5ODY1NTU=","number":1561,"title":"componentWillReceiveProps 触发异常","user":{"login":"KevinGong2013","id":5820203,"node_id":"MDQ6VXNlcjU4MjAyMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/5820203?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinGong2013","html_url":"https://github.com/KevinGong2013","followers_url":"https://api.github.com/users/KevinGong2013/followers","following_url":"https://api.github.com/users/KevinGong2013/following{/other_user}","gists_url":"https://api.github.com/users/KevinGong2013/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinGong2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinGong2013/subscriptions","organizations_url":"https://api.github.com/users/KevinGong2013/orgs","repos_url":"https://api.github.com/users/KevinGong2013/repos","events_url":"https://api.github.com/users/KevinGong2013/events{/privacy}","received_events_url":"https://api.github.com/users/KevinGong2013/received_events","type":"User","site_admin":false},"labels":[{"id":1100885300,"node_id":"MDU6TGFiZWwxMTAwODg1MzAw","url":"https://api.github.com/repos/NervJS/taro/labels/Redux","name":"Redux","color":"8cc3ff","default":false}],"state":"open","locked":false,"assignee":{"login":"luckyadam","id":1782542,"node_id":"MDQ6VXNlcjE3ODI1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1782542?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyadam","html_url":"https://github.com/luckyadam","followers_url":"https://api.github.com/users/luckyadam/followers","following_url":"https://api.github.com/users/luckyadam/following{/other_user}","gists_url":"https://api.github.com/users/luckyadam/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyadam/subscriptions","organizations_url":"https://api.github.com/users/luckyadam/orgs","repos_url":"https://api.github.com/users/luckyadam/repos","events_url":"https://api.github.com/users/luckyadam/events{/privacy}","received_events_url":"https://api.github.com/users/luckyadam/received_events","type":"User","site_admin":false},"assignees":[{"login":"luckyadam","id":1782542,"node_id":"MDQ6VXNlcjE3ODI1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/1782542?v=4","gravatar_id":"","url":"https://api.github.com/users/luckyadam","html_url":"https://github.com/luckyadam","followers_url":"https://api.github.com/users/luckyadam/followers","following_url":"https://api.github.com/users/luckyadam/following{/other_user}","gists_url":"https://api.github.com/users/luckyadam/gists{/gist_id}","starred_url":"https://api.github.com/users/luckyadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckyadam/subscriptions","organizations_url":"https://api.github.com/users/luckyadam/orgs","repos_url":"https://api.github.com/users/luckyadam/repos","events_url":"https://api.github.com/users/luckyadam/events{/privacy}","received_events_url":"https://api.github.com/users/luckyadam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-12-18T03:54:55Z","updated_at":"2018-12-26T04:03:42Z","closed_at":null,"author_association":"NONE","body":"**问题描述**\r\n如果在componentWillReceiveProps 中 dispatch redux 的action，this.props 和nextProps 的值会异常\r\n\r\n**复现步骤**\r\n1. git clone https://github.com/KevinGong2013/redux-will-receive-props-demo\r\n2. npm run dev:weapp\r\n3. 点击 `+`\r\n4. ide 大概会卡死，componentWillReceiveProps 无限调用\r\n\r\n**期望行为**\r\ncomponentWillReceiveProps 调用过一次 this.props 应该更新为 nextProps的值， 然而没有更新\r\n\r\n**系统信息**\r\n\r\n - 操作系统: [Mac OS X 10.14.1 (18B75)]\r\n - Taro 版本 [v.1.2.0]\r\n - Node.js 版本 [v11.2.0]\r\n - 报错平台 [alipay, weapp]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NervJS/taro/issues/comments/449899487","html_url":"https://github.com/NervJS/taro/issues/1561#issuecomment-449899487","issue_url":"https://api.github.com/repos/NervJS/taro/issues/1561","id":449899487,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg5OTQ4Nw==","user":{"login":"KevinGong2013","id":5820203,"node_id":"MDQ6VXNlcjU4MjAyMDM=","avatar_url":"https://avatars2.githubusercontent.com/u/5820203?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinGong2013","html_url":"https://github.com/KevinGong2013","followers_url":"https://api.github.com/users/KevinGong2013/followers","following_url":"https://api.github.com/users/KevinGong2013/following{/other_user}","gists_url":"https://api.github.com/users/KevinGong2013/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinGong2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinGong2013/subscriptions","organizations_url":"https://api.github.com/users/KevinGong2013/orgs","repos_url":"https://api.github.com/users/KevinGong2013/repos","events_url":"https://api.github.com/users/KevinGong2013/events{/privacy}","received_events_url":"https://api.github.com/users/KevinGong2013/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T04:03:42Z","updated_at":"2018-12-26T04:03:42Z","author_association":"NONE","body":"大佬这个问题有计划了不 😢"}}
{"actor":{"display_login":"KevinGong2013"}}