{"action":"created","issue":{"url":"https://api.github.com/repos/material-components/material-components-web-react/issues/87","repository_url":"https://api.github.com/repos/material-components/material-components-web-react","labels_url":"https://api.github.com/repos/material-components/material-components-web-react/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/material-components/material-components-web-react/issues/87/comments","events_url":"https://api.github.com/repos/material-components/material-components-web-react/issues/87/events","html_url":"https://github.com/material-components/material-components-web-react/pull/87","id":328251506,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxODM5Mjg5","number":87,"title":"chore(infrastructure): removed deprecated componentWillReceiveProps","user":{"login":"moog16","id":579873,"node_id":"MDQ6VXNlcjU3OTg3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/579873?v=4","gravatar_id":"","url":"https://api.github.com/users/moog16","html_url":"https://github.com/moog16","followers_url":"https://api.github.com/users/moog16/followers","following_url":"https://api.github.com/users/moog16/following{/other_user}","gists_url":"https://api.github.com/users/moog16/gists{/gist_id}","starred_url":"https://api.github.com/users/moog16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moog16/subscriptions","organizations_url":"https://api.github.com/users/moog16/orgs","repos_url":"https://api.github.com/users/moog16/repos","events_url":"https://api.github.com/users/moog16/events{/privacy}","received_events_url":"https://api.github.com/users/moog16/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bonniezhou","id":4693629,"node_id":"MDQ6VXNlcjQ2OTM2Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/4693629?v=4","gravatar_id":"","url":"https://api.github.com/users/bonniezhou","html_url":"https://github.com/bonniezhou","followers_url":"https://api.github.com/users/bonniezhou/followers","following_url":"https://api.github.com/users/bonniezhou/following{/other_user}","gists_url":"https://api.github.com/users/bonniezhou/gists{/gist_id}","starred_url":"https://api.github.com/users/bonniezhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonniezhou/subscriptions","organizations_url":"https://api.github.com/users/bonniezhou/orgs","repos_url":"https://api.github.com/users/bonniezhou/repos","events_url":"https://api.github.com/users/bonniezhou/events{/privacy}","received_events_url":"https://api.github.com/users/bonniezhou/received_events","type":"User","site_admin":false},"assignees":[{"login":"bonniezhou","id":4693629,"node_id":"MDQ6VXNlcjQ2OTM2Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/4693629?v=4","gravatar_id":"","url":"https://api.github.com/users/bonniezhou","html_url":"https://github.com/bonniezhou","followers_url":"https://api.github.com/users/bonniezhou/followers","following_url":"https://api.github.com/users/bonniezhou/following{/other_user}","gists_url":"https://api.github.com/users/bonniezhou/gists{/gist_id}","starred_url":"https://api.github.com/users/bonniezhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonniezhou/subscriptions","organizations_url":"https://api.github.com/users/bonniezhou/orgs","repos_url":"https://api.github.com/users/bonniezhou/repos","events_url":"https://api.github.com/users/bonniezhou/events{/privacy}","received_events_url":"https://api.github.com/users/bonniezhou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-05-31T18:38:39Z","updated_at":"2018-07-06T18:48:59Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/material-components/material-components-web-react/pulls/87","html_url":"https://github.com/material-components/material-components-web-react/pull/87","diff_url":"https://github.com/material-components/material-components-web-react/pull/87.diff","patch_url":"https://github.com/material-components/material-components-web-react/pull/87.patch"},"body":"As of React 16.x, the lifecycle method componentWillReceiveProps is being deprecated. React now suggests to replace the method with getDerivedStateFromProps (a static method).\r\n\r\nI renamed/moved the logic from componentWillReceiveProps to componentDidUpdate, since all the logic is calling foundation methods not updating this.state (the main function of getDerivedStateFromProps).\r\n\r\nhttps://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops\r\n\r\nFixes #65"},"comment":{"url":"https://api.github.com/repos/material-components/material-components-web-react/issues/comments/403117468","html_url":"https://github.com/material-components/material-components-web-react/pull/87#issuecomment-403117468","issue_url":"https://api.github.com/repos/material-components/material-components-web-react/issues/87","id":403117468,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzExNzQ2OA==","user":{"login":"moog16","id":579873,"node_id":"MDQ6VXNlcjU3OTg3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/579873?v=4","gravatar_id":"","url":"https://api.github.com/users/moog16","html_url":"https://github.com/moog16","followers_url":"https://api.github.com/users/moog16/followers","following_url":"https://api.github.com/users/moog16/following{/other_user}","gists_url":"https://api.github.com/users/moog16/gists{/gist_id}","starred_url":"https://api.github.com/users/moog16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moog16/subscriptions","organizations_url":"https://api.github.com/users/moog16/orgs","repos_url":"https://api.github.com/users/moog16/repos","events_url":"https://api.github.com/users/moog16/events{/privacy}","received_events_url":"https://api.github.com/users/moog16/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T18:48:59Z","updated_at":"2018-07-06T18:48:59Z","author_association":"CONTRIBUTOR","body":"Ya it is a detail, but I think its nice just to know what part of the code is being tested and its location in the file. Gonna merge!"}}
{"actor":{"display_login":"moog16"}}