Hacker News new | past | comments | ask | show | jobs | submit login

In terms of performance, wouldn't it be far faster to use strings and turn those into document fragments or setting innerHTML? I've been looking at ways to make crate much faster and it seems that would be the fastest solution by far.



That's the approach Hiccups took, it goes as far as generating most of the html at compile time as well. I didn't run benchmarks but I would guess it is faster than crate in some situations (huge fragments, older browsers etc).

Another plus is nodejs compatibilty (if you care about that, but I guess you might :)).

https://github.com/teropa/hiccups




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: