{"action":"created","issue":{"url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/81","labels_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/81/comments","events_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/81/events","html_url":"https://github.com/kohei-takata/learnyoureact/issues/81","id":120618602,"number":81,"title":"Exercise 4 (propTypes) passes trivially","user":{"login":"lastorset","id":464989,"avatar_url":"https://avatars.githubusercontent.com/u/464989?v=3","gravatar_id":"","url":"https://api.github.com/users/lastorset","html_url":"https://github.com/lastorset","followers_url":"https://api.github.com/users/lastorset/followers","following_url":"https://api.github.com/users/lastorset/following{/other_user}","gists_url":"https://api.github.com/users/lastorset/gists{/gist_id}","starred_url":"https://api.github.com/users/lastorset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastorset/subscriptions","organizations_url":"https://api.github.com/users/lastorset/orgs","repos_url":"https://api.github.com/users/lastorset/repos","events_url":"https://api.github.com/users/lastorset/events{/privacy}","received_events_url":"https://api.github.com/users/lastorset/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T08:38:02Z","updated_at":"2016-01-17T12:02:05Z","closed_at":null,"body":"Exercise 4 says to expect a `Warning` in the console, but no warning shows by default. This clause is added:\r\n\r\n```jsx\r\nTodo.propTypes = {\r\n        title: React.PropTypes.string.isRequired\r\n    };\r\n```\r\n\r\nbut both the `Todo`s already have titles.\r\n\r\nOne solution would be to add an invalid item in `TodoBox`\r\n\r\n```html\r\n<Todo>5 km</Todo>\r\n```\r\n\r\nand add expected output, including a line like\r\n\r\n```html\r\n<td style=\"border:1px solid black;\">Run</td><td style=\"border:1px solid black;\">5 km</td>\r\n```"},"comment":{"url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/comments/172317824","html_url":"https://github.com/kohei-takata/learnyoureact/issues/81#issuecomment-172317824","issue_url":"https://api.github.com/repos/kohei-takata/learnyoureact/issues/81","id":172317824,"user":{"login":"kohei-takata","id":7623979,"avatar_url":"https://avatars.githubusercontent.com/u/7623979?v=3","gravatar_id":"","url":"https://api.github.com/users/kohei-takata","html_url":"https://github.com/kohei-takata","followers_url":"https://api.github.com/users/kohei-takata/followers","following_url":"https://api.github.com/users/kohei-takata/following{/other_user}","gists_url":"https://api.github.com/users/kohei-takata/gists{/gist_id}","starred_url":"https://api.github.com/users/kohei-takata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohei-takata/subscriptions","organizations_url":"https://api.github.com/users/kohei-takata/orgs","repos_url":"https://api.github.com/users/kohei-takata/repos","events_url":"https://api.github.com/users/kohei-takata/events{/privacy}","received_events_url":"https://api.github.com/users/kohei-takata/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T12:02:05Z","updated_at":"2016-01-17T12:02:05Z","body":"I've wrongly changed `title: React.PropTypes.number.isRequired` to `title: React.PropTypes.string.isRequired`.\r\nI merged #90 and return `string` to `number`, so that Exercise 4 seems to became more difficult :smile: \r\n"}}