{"action":"created","issue":{"url":"https://api.github.com/repos/skatejs/skatejs/issues/965","repository_url":"https://api.github.com/repos/skatejs/skatejs","labels_url":"https://api.github.com/repos/skatejs/skatejs/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/skatejs/skatejs/issues/965/comments","events_url":"https://api.github.com/repos/skatejs/skatejs/issues/965/events","html_url":"https://github.com/skatejs/skatejs/issues/965","id":194407055,"number":965,"title":"Example of React HOC using SkateJS component","user":{"login":"idibidiart","id":1288823,"avatar_url":"https://avatars.githubusercontent.com/u/1288823?v=3","gravatar_id":"","url":"https://api.github.com/users/idibidiart","html_url":"https://github.com/idibidiart","followers_url":"https://api.github.com/users/idibidiart/followers","following_url":"https://api.github.com/users/idibidiart/following{/other_user}","gists_url":"https://api.github.com/users/idibidiart/gists{/gist_id}","starred_url":"https://api.github.com/users/idibidiart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idibidiart/subscriptions","organizations_url":"https://api.github.com/users/idibidiart/orgs","repos_url":"https://api.github.com/users/idibidiart/repos","events_url":"https://api.github.com/users/idibidiart/events{/privacy}","received_events_url":"https://api.github.com/users/idibidiart/received_events","type":"User","site_admin":false},"labels":[{"id":78094229,"url":"https://api.github.com/repos/skatejs/skatejs/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-08T18:18:27Z","updated_at":"2016-12-11T15:49:26Z","closed_at":null,"body":"Hi, \r\n\r\nThis is not an issue or feature request, just trying to find out if it's possible for a React Higher Order Component to be composed of SkateJS components, to ease the migration from React to SkateJS or at least co-existence. If it is possible, can you reference an existing example or provide one here?"},"comment":{"url":"https://api.github.com/repos/skatejs/skatejs/issues/comments/266289398","html_url":"https://github.com/skatejs/skatejs/issues/965#issuecomment-266289398","issue_url":"https://api.github.com/repos/skatejs/skatejs/issues/965","id":266289398,"user":{"login":"idibidiart","id":1288823,"avatar_url":"https://avatars.githubusercontent.com/u/1288823?v=3","gravatar_id":"","url":"https://api.github.com/users/idibidiart","html_url":"https://github.com/idibidiart","followers_url":"https://api.github.com/users/idibidiart/followers","following_url":"https://api.github.com/users/idibidiart/following{/other_user}","gists_url":"https://api.github.com/users/idibidiart/gists{/gist_id}","starred_url":"https://api.github.com/users/idibidiart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idibidiart/subscriptions","organizations_url":"https://api.github.com/users/idibidiart/orgs","repos_url":"https://api.github.com/users/idibidiart/repos","events_url":"https://api.github.com/users/idibidiart/events{/privacy}","received_events_url":"https://api.github.com/users/idibidiart/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T15:49:26Z","updated_at":"2016-12-11T15:49:26Z","body":"@treshugart \r\n\r\nThank you for your answer. I'll be reading about react-integration and looking to understand how events in WebComponents are registered (via \"on\" attribute syntax or addEventListener or both) I assume (for memory leak prevention that we also have to make sure the events are removed (via removeEventListener or passing null to the \"on\" event attribute...? \r\n\r\n@soneymathew \r\n\r\nThanks for your notes!\r\n\r\nI recently came across this project: https://github.com/babel/babel-preset-env \"Babel preset that automatically determines the the Babel plugins you need based on your supported environments. Uses compat-table\" and I'm wondering if something similar can be done in the case of web components. In other words, it would be nice to have an easy way (e.g. via a library) to determine what web components polyfills to download for the browser in which the code is running. \r\n\r\n\r\n"}}
{"actor":{"display_login":"idibidiart"}}