Q.js – Smaller than React/Vue, yet more powerful (40KB gzipped)
Q.js – Smaller than React/Vue, yet more powerful (40KB gzipped)
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 <template> 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.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Convertisseur automatique react + vite vers next.js
React on Rails (isomorphic JS React framework)
React+D3.js, learn how to build visualizations with React
I wrote a book about Next.js and React
UI Generator For React Svelte Vue.js
React-atom – reagent.cljs atoms for react.js
Clerk.JS – A normalizer with denormalized data access for React
I made a React Hook to use Tensorflow.js easily
Using React inside Ember.js
Angular Phonecat Tutorial in React JS