{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/1531","labels_url":"https://api.github.com/repos/rackt/react-router/issues/1531/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/1531/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/1531/events","html_url":"https://github.com/rackt/react-router/issues/1531","id":94753038,"number":1531,"title":"transferring props to children in 1.0.0","user":{"login":"omerts","id":4996164,"avatar_url":"https://avatars.githubusercontent.com/u/4996164?v=3","gravatar_id":"","url":"https://api.github.com/users/omerts","html_url":"https://github.com/omerts","followers_url":"https://api.github.com/users/omerts/followers","following_url":"https://api.github.com/users/omerts/following{/other_user}","gists_url":"https://api.github.com/users/omerts/gists{/gist_id}","starred_url":"https://api.github.com/users/omerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerts/subscriptions","organizations_url":"https://api.github.com/users/omerts/orgs","repos_url":"https://api.github.com/users/omerts/repos","events_url":"https://api.github.com/users/omerts/events{/privacy}","received_events_url":"https://api.github.com/users/omerts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-07-13T15:50:11Z","updated_at":"2015-11-08T14:51:38Z","closed_at":"2015-09-09T21:50:39Z","body":"Hey,\r\n\r\nI am now migrating our code from 0.13.3. I really think that using (taking from a closed issue):\r\n```javascript\r\nReact.cloneElement(this.props.children, { appState: this.state });\r\n```\r\nTo transfer props to children, is an anti-pattern. I mean, this is really not the way to transfer props using React. I find that using RouteHandler is much simpler, and readable. \r\n"},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/154831072","html_url":"https://github.com/rackt/react-router/issues/1531#issuecomment-154831072","issue_url":"https://api.github.com/repos/rackt/react-router/issues/1531","id":154831072,"user":{"login":"dnutels","id":1825272,"avatar_url":"https://avatars.githubusercontent.com/u/1825272?v=3","gravatar_id":"","url":"https://api.github.com/users/dnutels","html_url":"https://github.com/dnutels","followers_url":"https://api.github.com/users/dnutels/followers","following_url":"https://api.github.com/users/dnutels/following{/other_user}","gists_url":"https://api.github.com/users/dnutels/gists{/gist_id}","starred_url":"https://api.github.com/users/dnutels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnutels/subscriptions","organizations_url":"https://api.github.com/users/dnutels/orgs","repos_url":"https://api.github.com/users/dnutels/repos","events_url":"https://api.github.com/users/dnutels/events{/privacy}","received_events_url":"https://api.github.com/users/dnutels/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T14:51:38Z","updated_at":"2015-11-08T14:51:38Z","body":"@taion \r\n\r\nWrong how? \r\n\r\n1. named components - ?\r\n2. using named components inside route - ?\r\n3. passing props to components - ?\r\n\r\nI am missing something here and, frankly, it puzzles me that you'd say that purely React-esque way of doing this is wrong, but using this abomination (pardon my language) is right:\r\n\r\n```\r\nReact.cloneElement(this.props.children, {myprop: this.route.myprop})\r\n```\r\n\r\nCan you perhaps elaborate a little?"}}