{"action":"closed","issue":{"url":"https://api.github.com/repos/colingourlay/hyperstyles/issues/1","labels_url":"https://api.github.com/repos/colingourlay/hyperstyles/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/colingourlay/hyperstyles/issues/1/comments","events_url":"https://api.github.com/repos/colingourlay/hyperstyles/issues/1/events","html_url":"https://github.com/colingourlay/hyperstyles/issues/1","id":126588777,"number":1,"title":"Make it hyperscript-agnostic ","user":{"login":"vdanchenkov","id":2461813,"avatar_url":"https://avatars.githubusercontent.com/u/2461813?v=3","gravatar_id":"","url":"https://api.github.com/users/vdanchenkov","html_url":"https://github.com/vdanchenkov","followers_url":"https://api.github.com/users/vdanchenkov/followers","following_url":"https://api.github.com/users/vdanchenkov/following{/other_user}","gists_url":"https://api.github.com/users/vdanchenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/vdanchenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdanchenkov/subscriptions","organizations_url":"https://api.github.com/users/vdanchenkov/orgs","repos_url":"https://api.github.com/users/vdanchenkov/repos","events_url":"https://api.github.com/users/vdanchenkov/events{/privacy}","received_events_url":"https://api.github.com/users/vdanchenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T06:37:14Z","updated_at":"2016-01-14T15:31:41Z","closed_at":"2016-01-14T15:31:41Z","body":"I've been thinking of similar library for React when I found this one. I think we can rewrite it to remove dependency on virtual dom. It will allow library to be used with hyperscript or react-hyperscript, but will require one breaking change of usage pattern.\r\n\r\n    var hyperstyles = require('hyperstyles')(require('virtual-dom/virtual-hyperscript'));\r\n    var h = hyperstyles(require('./car.css'));\r\n\r\n@colingourlay, I will work on implementation in a couple of weeks and will provide a PR if you are ok with this change."}}