Closed danielbodart closed 5 years ago
I'll try to do a public benchmark soon. This one is super fast compared to typed-html (I even tried to make one like that but I realized it was too slow so I came up with this transformer: https://github.com/danielpa9708/jsx-to-str). The difference is that the transformer is compilation time, so it's pretty much O(1) in run time. And the other (typed-html or jsx-to-str) is run time and it makes several function calls to create the elements.
I did some benchmarks some time ago between this transformer, jsx-to-str, and pug with precompilation, and these were the results:
And yes, it doesn't have any run time dependencies.
Are there any benefits to using this transformer vs https://github.com/nicojs/typed-html.
Maybe zero runtime dependencies?
Thanks