Q.js is a lightweight JS framework that I recently distilled from our in-house Qbix platform that I’ve been building since 2011. It powers many of our social apps, which have all the features of Facebook, LinkedIn, X, etc.
We’re not a big company like Google or Meta, so we never released it publicly. Now I’d like to, and thought it would be a good idea to post it on HN and gather some feedback.
Q.minimal.js was designed to be dropped into any website. It lazy-loads all your components only as they are needed and appear on the screen. The minimal file is meant as a starting point for developers, and if you later want more features from the Qbix platform, you can simply swap it out for the larger Q.js file instead.
Here are some advantages of Q.minimal.js compared to React, Angular, Vue, or whatever you might be using now:
40KB gzipped, smaller than React (without ReactDOM), smaller than Vue runtime, far smaller than Angular
No build step, just drop it in; works with plain .html files or with JS/Handlebars templates
Components & tools, like React components or Vue directives, but attachable as behaviors to any DOM element
Faster rendering with requestAnimationFrame and .rendering(), no giant virtual DOM reconciliation
Built-in power: batching, caching, lazyloading, routing, slot-based page activation, all included in core
Universal dev model: designers can use pure HTML, developers can use JS, both work interchangeably
Incremental: drop it into an existing site without rewriting or compiling anything
If you have a free hour, give it a try! Play around with it, and let me know what you think. It's 100% free and open source under MIT license and I'm looking to polish up any rough edges before letting developers know about it.
Comments URL: https://news.ycombinator.com/item?id=45080222
Points: 10
# Comments: 7
Zaloguj się, aby dodać komentarz
Inne posty w tej grupie

Article URL: https://blog.meca.sh/3lxoty3shjc2z
Comments URL: https://news.ycombinat
Article URL: https://koas.dev/a-motto-for-programming/
Comments URL: https://

Article URL: https://github.com/TibixDev/winboat
Comments URL: https://news.ycombin
Article URL: https://causenet.org/
Comments URL: https://news.ycombinator.com/item?id=45099418
Article URL: https://kazeta.org/
Comments URL: https://news.ycombinator.com/item?id=45098269