hyperscript
hyperscript copied to clipboard
hscript string to virtual node?
You recommend the html2hscript tool for taking html to hyerscript. This tools retuns a string, where your library runs as a function. How can I take the string returned by html2hscript and get the same output as running h(whatever)?
can you post this issue on html2script? I don't really know much about it I just link to it because it's part of the hyperscript ecosystem... But, i think you need to run that file as javascript... maybe with var h = require('hyperscript'); at the top?