top | item 42464743

(no title)

TripleChecker | 1 year ago

It reminds me of vue templates. I’d love to see some benchmarks comparing it with react jsx and vue/nuxt, both for server-side and client-side. Thanks!

Caught 1 typo and 1 broken link on the site in case you'd like to fix: https://triplechecker.com/s/477573/mizu.sh

discuss

order

benatkin|1 year ago

Vue is still recognizable as HTML, and to me looks more like HTML than JSX. This looks less like HTML to me than either Vue or JSX. It reminds me of Marko. Marko still looks messy to me after having tried to get into it, but YMMV.

lowlighter|1 year ago

It's because it's mostly based on the vue syntax short hands (@ for event, # for slots and : for attribute bindings, :: was also proposed at a time for model in vue too but it was still being discussed last time i checked)

Rather than using a v- prefix like vue has, mizu uses *, but it's essentially the same.

All in all, I feel like it's still pretty close to what vue offers, at least when you plug it directly to your html page without passing by the component/composition way of writing vue.

I took a lot from vue (maybe more petite-vue at this point) and alpine to make mizu actually

leopoldj|1 year ago

I have created a templating system in Java that uses the Vue syntax. Many of the common features are present. To minimize dependency, I chose to use Java's built-in XML parser to parse the template. Which means, the template has to be a valid XML. I've been using it mainly to generate email content.

https://github.com/bibhas2/Zippy

lowlighter|1 year ago

Thanks for catching this, I'll look into it!