by tipiirai · 3y ago · 0 comments
You are right: Nue takes inspiration from Vue 2.0, petite-vue and Riot.
I'll make the comparison more fair, but it doesn't take out the fact that React/Vue promote use of "spaghetti" code where logic/layout/styling are mixed together making the code hard to read and causes the size to grow. Everywhere I look the projects are unnecessarily big. Very often in the factor of 10x too big.
Pretty sure Nue JS will always need a build step. I don't like the idea to load the compiler and run JS exec() on the client side. Heavy and unsecure.
Haven't checked performance yet. I want to see this project getting more traction before deep diving to benchmarking
Probably not intentionally deceitful, but it a ridiculous comparison.
However, according to BundleJS, only nuejs-core's compile() method is 36.2KB minified gzipped: https://deno.bundlejs.com/badge?q=nuejs-core@0.1.0&treeshake... - it is nowhere close to 2.3KB as on your website. Compare it to petite-vue's bundle, which is only 7.3KB: https://deno.bundlejs.com/badge?q=petite-vue@0.4.1
https://nuejs.org/@nue/js/nue.js
local gzip on my machine is 2.3kb