{"action":"created","issue":{"url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/34","labels_url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/34/comments","events_url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/34/events","html_url":"https://github.com/purescript-contrib/purescript-react/issues/34","id":97283188,"number":34,"title":"Is React 0.13.x supported?","user":{"login":"AlexeyRaga","id":1394391,"avatar_url":"https://avatars.githubusercontent.com/u/1394391?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexeyRaga","html_url":"https://github.com/AlexeyRaga","followers_url":"https://api.github.com/users/AlexeyRaga/followers","following_url":"https://api.github.com/users/AlexeyRaga/following{/other_user}","gists_url":"https://api.github.com/users/AlexeyRaga/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexeyRaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexeyRaga/subscriptions","organizations_url":"https://api.github.com/users/AlexeyRaga/orgs","repos_url":"https://api.github.com/users/AlexeyRaga/repos","events_url":"https://api.github.com/users/AlexeyRaga/events{/privacy}","received_events_url":"https://api.github.com/users/AlexeyRaga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-26T03:51:40Z","updated_at":"2015-07-26T16:04:48Z","closed_at":null,"body":"The current version of React is 0.13.3, but when I run the example it doesn't work against React 0.13.3.\r\n\r\nThe problem is that in 0.12.x React would give a warning (and that's what I see if I run the example against 0.12.2):\r\n\r\n    Warning: Something is calling a React component directly. Use a factory or JSX instead. \r\n    See: http://fb.me/react-legacyfactory\r\n\r\nBut in 0.13.x React has removed `renderComponent`, `renderComponentToString` and `renderComponentToStaticMarkup` functions which were deprecated in 0.12.x, but still used by the example.\r\n\r\nInstead, the new \"correct\" way would be:\r\n\r\n    React.render(React.createFactory(MyComponent)(config), node)\r\n\r\n\r\nBut I don't know how to express it in `purescript-react`. Is there a way? \r\n"},"comment":{"url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/comments/125011545","html_url":"https://github.com/purescript-contrib/purescript-react/issues/34#issuecomment-125011545","issue_url":"https://api.github.com/repos/purescript-contrib/purescript-react/issues/34","id":125011545,"user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T16:04:48Z","updated_at":"2015-07-26T16:04:48Z","body":"It's not supported right now, but I'd be happy to take a PR to modify the FFI to use it."}}