{"action":"closed","issue":{"url":"https://api.github.com/repos/krambertech/react-essential-course/issues/61","repository_url":"https://api.github.com/repos/krambertech/react-essential-course","labels_url":"https://api.github.com/repos/krambertech/react-essential-course/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/krambertech/react-essential-course/issues/61/comments","events_url":"https://api.github.com/repos/krambertech/react-essential-course/issues/61/events","html_url":"https://github.com/krambertech/react-essential-course/issues/61","id":272390263,"number":61,"title":"Вопрос по 2 заданию","user":{"login":"AnastasiaTischenko","id":27934566,"avatar_url":"https://avatars3.githubusercontent.com/u/27934566?v=4","gravatar_id":"","url":"https://api.github.com/users/AnastasiaTischenko","html_url":"https://github.com/AnastasiaTischenko","followers_url":"https://api.github.com/users/AnastasiaTischenko/followers","following_url":"https://api.github.com/users/AnastasiaTischenko/following{/other_user}","gists_url":"https://api.github.com/users/AnastasiaTischenko/gists{/gist_id}","starred_url":"https://api.github.com/users/AnastasiaTischenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnastasiaTischenko/subscriptions","organizations_url":"https://api.github.com/users/AnastasiaTischenko/orgs","repos_url":"https://api.github.com/users/AnastasiaTischenko/repos","events_url":"https://api.github.com/users/AnastasiaTischenko/events{/privacy}","received_events_url":"https://api.github.com/users/AnastasiaTischenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-08T23:43:22Z","updated_at":"2017-12-02T23:52:47Z","closed_at":"2017-12-02T23:52:47Z","author_association":"NONE","body":"Привет) можешь глянуть код? что то не так с синтаксисом, думаю проблема в рендере но не понимаю как исправить. если это возможно можете подсказать?\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <title>Document</title>\r\n    <script src=\"https://fb.me/react-0.14.3.js\"></script>\r\n<script src=\"https://fb.me/react-dom-0.14.3.js\"></script>\r\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser.js\"></script>\r\n</head>\r\n<body>\r\n    <div id=\"content\"></div>\r\n    \r\n    <script type=\"text/babel\">\r\n\r\n        var Output = React.createClass({\r\n            render: function(){\r\n                return (\r\n                    <p>Hello {this.props.name}</p>\r\n                );\r\n            }\r\n        })\r\n        \r\n        var Hello = React.createClass({\r\n            getInitialState: function(){\r\n              return {\r\n                  name: \"\"\r\n              };  \r\n            },\r\n            \r\n            handleNameChange: function(event) {\r\n                this.setState({\r\n                    name: event.target.value,\r\n                });\r\n            },\r\n            \r\n            render: function(){\r\n                return (\r\n                    <div>\r\n                        <input type=\"text\" onChange={this.handleNameChange} value={this.state.name}/>\r\n                        <div>{\r\n                            <Output {this.name}/>\r\n                            }\r\n                        </div>\r\n                     </div>   \r\n                );\r\n            }\r\n        });\r\n\r\n \r\n        ReactDOM.render(\r\n            <Hello />,\r\n            document.getElementById('content')\r\n        );\r\n    </script>\r\n</body>\r\n</html>"}}
{"actor":{"display_login":"krambertech"}}