{"action":"created","issue":{"url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/31","labels_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/31/comments","events_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/31/events","html_url":"https://github.com/QubitProducts/react-test-tree/pull/31","id":96047255,"number":31,"title":"[WIP] React 0.14","user":{"login":"oliverwoodings","id":621323,"avatar_url":"https://avatars.githubusercontent.com/u/621323?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverwoodings","html_url":"https://github.com/oliverwoodings","followers_url":"https://api.github.com/users/oliverwoodings/followers","following_url":"https://api.github.com/users/oliverwoodings/following{/other_user}","gists_url":"https://api.github.com/users/oliverwoodings/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverwoodings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverwoodings/subscriptions","organizations_url":"https://api.github.com/users/oliverwoodings/orgs","repos_url":"https://api.github.com/users/oliverwoodings/repos","events_url":"https://api.github.com/users/oliverwoodings/events{/privacy}","received_events_url":"https://api.github.com/users/oliverwoodings/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-07-20T11:48:49Z","updated_at":"2015-11-15T15:14:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/QubitProducts/react-test-tree/pulls/31","html_url":"https://github.com/QubitProducts/react-test-tree/pull/31","diff_url":"https://github.com/QubitProducts/react-test-tree/pull/31.diff","patch_url":"https://github.com/QubitProducts/react-test-tree/pull/31.patch"},"body":"This PR updates react-test-tree to support React 0.14. This will be a breaking update for anyone using React 0.13 or lower, so I propose we release it as v0.3.0. I also propose that we release when 0.14 is also officially released.\r\n\r\n* Split tree nodes into two types: `TestNode` and `TestClassNode`\r\n* `TestNode`s represent plain HTML elements, whereas `TestClassNode`s represent instances of React components\r\n* Only `TestClassNode`s have the code for handling refs/refCollections and their associated logic\r\n* `getDOMNode` is abstracted into a separate utility method in order to handle different types of element\r\n* The ref tree walk has now been updated to handle React's new ref structure. Unfortunately this is not very clean\r\n\r\nStill to do: \r\n\r\n- [x] Add HOC support\r\n- [x] Pull in changes to README\r\n- [x] Handle ref name clashes\r\n- [x] Decide on value prop\r\n- [x] Simulate library tests\r\n- [x] refCollections should work on composites\r\n- [x] Document breaking changes and how to migrate\r\n- [x] Release rc1\r\n- [x] Complete empty tests, add additional tests\r\n- [x] Add support for stateless components\r\n- [x] Always wrap input with additional component so we can hijack render\r\n- [x] Refactor to use `testRef` and `testRefCollection` instead of `ref` and `refCollection`\r\n- [x] Update docs to reflect new API changes\r\n- [x] Document how state changes are async\r\n- [x] Children should retain their type; don't always convert them to an array\r\n- [ ] Investigate HoC/stubbing issue (add more tests on it)\r\n\r\nCloses #30 #47 #43 #39 #24 #48 "},"comment":{"url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/comments/156817109","html_url":"https://github.com/QubitProducts/react-test-tree/pull/31#issuecomment-156817109","issue_url":"https://api.github.com/repos/QubitProducts/react-test-tree/issues/31","id":156817109,"user":{"login":"Blystad","id":324506,"avatar_url":"https://avatars.githubusercontent.com/u/324506?v=3","gravatar_id":"","url":"https://api.github.com/users/Blystad","html_url":"https://github.com/Blystad","followers_url":"https://api.github.com/users/Blystad/followers","following_url":"https://api.github.com/users/Blystad/following{/other_user}","gists_url":"https://api.github.com/users/Blystad/gists{/gist_id}","starred_url":"https://api.github.com/users/Blystad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blystad/subscriptions","organizations_url":"https://api.github.com/users/Blystad/orgs","repos_url":"https://api.github.com/users/Blystad/repos","events_url":"https://api.github.com/users/Blystad/events{/privacy}","received_events_url":"https://api.github.com/users/Blystad/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T15:14:28Z","updated_at":"2015-11-15T15:14:28Z","body":"Alright, will do."}}