Closed bstro closed 5 years ago
Currently there's no renderToString
support by default in lighterhtml
. But to achieve similar results, you could take something like basichtml
and follow the https://github.com/WebReflection/basicHTML#good-old-way-to-init-with-basic-selectors example.
Also, when you say "Isometric" I'm assuming you mean "Isomorphic".
@joshgillies Thanks! Hah, yeah, I meant isomorphic (been dabbling in pixelart lately so the brain wires got crossed).
Haha, no worries! I hope basicHTML
works out for you. Do report back if there are any issues. 👍
you can use viperHTML for server side rendering.
const {bind, wire} = require('viperhtml');
const html = (...args) => wire()(...args);
it want be 1:1 API experience like it would with hyperHTML but it should be fine to play around with that.
Hi there, I'm a bit new to all this, but am wondering, does
lighterhtml
support building isometric apps? Maybe arenderToString
method? Haven't seen anything like this so far, but this lib looks cool as hell and I'd love to use it in this way.