Forgo.js – a 4kb React alternative based on plain JS and DOM APIs
Forgo.js – a 4kb React alternative based on plain JS and DOM APIs launched on January 15, 2021 with 110 votes, #321 of 3,157 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 5 years on.
In plain words
Forgo.js is a lightweight JavaScript framework that provides an alternative to React with just 4 kilobytes of code. It builds on plain JavaScript and browser DOM APIs rather than introducing a custom abstraction layer. The framework is designed for developers who want component-based UI development without the overhead of larger libraries. Forgo.js is suitable for small projects, performance-sensitive applications, or anyone preferring minimal dependencies while maintaining modern development patterns.
written from the facts on this page · September 2026
From the sources
Forgo is a 4KB library that makes it super easy to create modern web apps using JSX (like React). Unlike React, there are very few framework specific patterns and lingo to learn. Everything you already know about DOM APIs and JavaScript will easily carry over. The easiest way to get started is with the 'create-forgo-app' utility. This relies on git, so you should have git installed on your machine. Forgo components are functions that return a Component instance, which has a render() method that returns JSX. Components hold their state using ordinary variables held in the closure scope of the function (called a Component Constructor). Forgo likes to keep things simple and explicit. It avoids…from forgojs.org
Does a similar job
all alternatives →
htmgo - build simple and scalable systems with golang + htmx2024 · htmgo.dev · ▲166Hey all, I just wanted to share a project I've been working on for the past month. After years of heavy frameworks, I really like the idea of using htmx, but it’s a little too low level for me and needs a thin layer above it to facilitate things like components, better syntax with complex JS inside of an attribute, etc To try and solve this problem with a very minimal stack (golang + htmx) that I've been really enjoying, I'm building this project to cater to my needs and was thinking it would be useful for other developers.
1 KB JavaScript framework for building front-end applications2017 · github.com · ▲2161kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp
Swap.js – a JavaScript micro-framework (HTML fragments over the wire)2023 · github.com · ▲127Hi HN! I created this lib in the need of a simple and tiny framework to easily do AJAX-style navigation / replacement of fragments in the page, in a web application. For people who don't want to use client-side-rendering and complex frameworks à la React, there are nowadays a few "HTML-over-the-wire" libraries, like HTMX, Unpoly or this super-tiny one Swap.js :) One other key thing is that no external tool is needed: no bundler, no webpack, no TypeScript compiler, no minification needed. Just write HTML, JS (+ your preferred server-side language: PHP, Python, etc.) and it works. The…
1 KB JavaScript library for building front end apps2017 · github.com · ▲2421kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp

More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, January 2021
the whole month →

Get the most popular messaging services, all in a single app. WhatsApp, Signal, Instagram, Telegram, and more.
Life & fun · 2021 · beeperhq.com
- IM
Life & fun · 2021 · read.cv


A computer vision engineer by day and photographer by night, I never take the path most traveled, especially when it comes to imaging technology. Thermal
Life & fun · 2021 · petapixel.com

Learn vim fast by building muscle memory. 2000+ engineers learned vim with our hands on training. Train your fingers, master vim commands!
Life & fun · 2021 · vim.so