{"action":"created","issue":{"url":"https://api.github.com/repos/Izzimach/react-three/issues/24","labels_url":"https://api.github.com/repos/Izzimach/react-three/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/Izzimach/react-three/issues/24/comments","events_url":"https://api.github.com/repos/Izzimach/react-three/issues/24/events","html_url":"https://github.com/Izzimach/react-three/issues/24","id":93131938,"number":24,"title":"Update to React 0.14","user":{"login":"Izzimach","id":1477366,"avatar_url":"https://avatars.githubusercontent.com/u/1477366?v=3","gravatar_id":"","url":"https://api.github.com/users/Izzimach","html_url":"https://github.com/Izzimach","followers_url":"https://api.github.com/users/Izzimach/followers","following_url":"https://api.github.com/users/Izzimach/following{/other_user}","gists_url":"https://api.github.com/users/Izzimach/gists{/gist_id}","starred_url":"https://api.github.com/users/Izzimach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Izzimach/subscriptions","organizations_url":"https://api.github.com/users/Izzimach/orgs","repos_url":"https://api.github.com/users/Izzimach/repos","events_url":"https://api.github.com/users/Izzimach/events{/privacy}","received_events_url":"https://api.github.com/users/Izzimach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Izzimach","id":1477366,"avatar_url":"https://avatars.githubusercontent.com/u/1477366?v=3","gravatar_id":"","url":"https://api.github.com/users/Izzimach","html_url":"https://github.com/Izzimach","followers_url":"https://api.github.com/users/Izzimach/followers","following_url":"https://api.github.com/users/Izzimach/following{/other_user}","gists_url":"https://api.github.com/users/Izzimach/gists{/gist_id}","starred_url":"https://api.github.com/users/Izzimach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Izzimach/subscriptions","organizations_url":"https://api.github.com/users/Izzimach/orgs","repos_url":"https://api.github.com/users/Izzimach/repos","events_url":"https://api.github.com/users/Izzimach/events{/privacy}","received_events_url":"https://api.github.com/users/Izzimach/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-07-05T18:11:40Z","updated_at":"2015-09-03T01:03:37Z","closed_at":null,"body":"In addition to just updating the code to work with 0.14, some changes to consider:\r\n\r\n1. Add [babel](https://babeljs.io/) to the pipeline. Not only is React using it, but ES6 is right around the corner anyways.\r\n2. Remove DOM references if possible. Instead of creating a WebGL canvas, the user would create their own `<canvas>` element and place the `Scene` under it. This removes most dependence on the DOM although getting mouse events will have to be handled/abstracted away. Removing all DOM reference makes it easier to do item 3, which is:\r\n3. Add some hooks to render to a native OpenGL surface instead of WebGL. This would mean adding a native lib to replace three.js functionality. It should also be compatible with [react-pixi](https://github.com/Izzimach/react-pixi)\r\n"},"comment":{"url":"https://api.github.com/repos/Izzimach/react-three/issues/comments/137290099","html_url":"https://github.com/Izzimach/react-three/issues/24#issuecomment-137290099","issue_url":"https://api.github.com/repos/Izzimach/react-three/issues/24","id":137290099,"user":{"login":"fsbdev","id":1302888,"avatar_url":"https://avatars.githubusercontent.com/u/1302888?v=3","gravatar_id":"","url":"https://api.github.com/users/fsbdev","html_url":"https://github.com/fsbdev","followers_url":"https://api.github.com/users/fsbdev/followers","following_url":"https://api.github.com/users/fsbdev/following{/other_user}","gists_url":"https://api.github.com/users/fsbdev/gists{/gist_id}","starred_url":"https://api.github.com/users/fsbdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsbdev/subscriptions","organizations_url":"https://api.github.com/users/fsbdev/orgs","repos_url":"https://api.github.com/users/fsbdev/repos","events_url":"https://api.github.com/users/fsbdev/events{/privacy}","received_events_url":"https://api.github.com/users/fsbdev/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T01:03:37Z","updated_at":"2015-09-03T01:03:37Z","body":"You'll have to create an abstraction over react-three, react-pixi, and whatever the react-opengl suggestion uses (needs a specific example of an OpenGL scene graph/rendering library). "}}