{"action":"closed","issue":{"url":"https://api.github.com/repos/JohnDeeBeeCooper/pizza/issues/1","repository_url":"https://api.github.com/repos/JohnDeeBeeCooper/pizza","labels_url":"https://api.github.com/repos/JohnDeeBeeCooper/pizza/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JohnDeeBeeCooper/pizza/issues/1/comments","events_url":"https://api.github.com/repos/JohnDeeBeeCooper/pizza/issues/1/events","html_url":"https://github.com/JohnDeeBeeCooper/pizza/issues/1","id":339996932,"node_id":"MDU6SXNzdWUzMzk5OTY5MzI=","number":1,"title":"Асинхронный сетстейт","user":{"login":"artrnh","id":22638768,"node_id":"MDQ6VXNlcjIyNjM4NzY4","avatar_url":"https://avatars3.githubusercontent.com/u/22638768?v=4","gravatar_id":"","url":"https://api.github.com/users/artrnh","html_url":"https://github.com/artrnh","followers_url":"https://api.github.com/users/artrnh/followers","following_url":"https://api.github.com/users/artrnh/following{/other_user}","gists_url":"https://api.github.com/users/artrnh/gists{/gist_id}","starred_url":"https://api.github.com/users/artrnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artrnh/subscriptions","organizations_url":"https://api.github.com/users/artrnh/orgs","repos_url":"https://api.github.com/users/artrnh/repos","events_url":"https://api.github.com/users/artrnh/events{/privacy}","received_events_url":"https://api.github.com/users/artrnh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-10T20:34:44Z","updated_at":"2018-07-10T20:45:20Z","closed_at":"2018-07-10T20:45:20Z","author_association":"NONE","body":"Короче сетстейт может быть асинхронным, поэтому старайся не использовать в нём this.state, если нужно использовать предыдущий стейт, то передавай в сетСтейт коллбек, ему первым аргументом и придет prevState.\r\n\r\nhttps://github.com/JohnDeeBeeCooper/pizza/blob/8ff41b19967b327ca048b38c392536af36f1fc1f/src/components/App.jsx#L15"}}
{"actor":{"display_login":"JohnDeeBeeCooper"}}