What is NueJS
Hello Coders!
This article is a short intro to NueJS an alternative to React, Vue, and Svelte.
Nue JS is an extremely small (2.3kb minzipped) JavaScript library for building user interfaces.
It is the core of NueJS toolset
.
In a sentence, It’s like Vue.js, React.js, or Svelte but there are no hooks, effects, props, portals, watchers, injects, suspensions, or other unusual abstractions on your way.
Build Interfaces with less code
The biggest benefit of Nue is that you need less code to do the same thing. It’s not unusual to see 2-10x differences in the amount of code you need to write.
For example, here’s a custom list box component written with Nue:
The React version is 2500 lines of JavaScript. Nue version is about ten times smaller even with 50-80% of the features:
✅ In Summary
Eventually, Nue is a complete front-end development toolset. An alternative to ecosystems like Vite, Next.js, and Astro.
In case anyone has the time and use this library, the feedback is much appreciated.