Hasty Briefsbeta

Bilingual

No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML

a day ago
  • #frontend
  • #DOM
  • #framework
  • Qite.js is a frontend framework designed for those who prefer HTML over React and dislike build steps, Virtual DOM, npm, and mixing JavaScript with HTML.
  • It operates DOM-first and SSR-first, working directly with the browser's DOM without re-rendering from scratch or simulating the browser in memory.
  • Qite.js is small, self-sufficient, and powerful, suitable for serious applications without requiring npm or a build step.
  • The framework emphasizes declarative states, treating the DOM as the source of truth, and uses plain HTML and JavaScript modules.
  • Components in Qite.js form a hierarchy where child components emit events and parent components handle decisions, promoting a clean separation of concerns.
  • Qite.js includes built-in fields and flags for component state management, with changes automatically updating the DOM and reevaluating state rules.
  • Event handling in Qite.js is simple and explicit, using a unified model for both browser and custom component events without global buses or hidden magic.
  • For dynamic component creation, Qite.js uses native HTML `<template>` elements, keeping markup in HTML and behavior in JavaScript.
  • The framework is SSR-first but allows for SPA-like behavior in sections or full SPAs if desired, without forcing a specific architecture.
  • Qite.js is not a virtual DOM framework, template compiler, React clone, or mandatory SPA architecture, and it doesn't require npm or a bundler.