frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A React KILLER: Ezh - A 21KB TS-only frontend framework (Demo: online Splendor)

https://splendor.ezh.dev/
1•foreverflying•2w ago

Comments

foreverflying•2w ago
Before the marketing talk, here’s a demo.

What is Ezh?

Ezh is a frontend framework focused on extreme performance and minimal surface area, without sacrificing developer ergonomics.

In practice, it consistently outperforms React in runtime performance, while remaining surprisingly easy to use. One warning though: after using it for a while, going back to React can feel… uncomfortable.

Some concrete numbers

Core implementation: ~2,500 lines of code

Production minified bundle: 21KB

Public API surface: 11 APIs

Learning curve: effectively flat

The Splendor demo above has fairly complex UI interactions, yet the entire game page is implemented in under 1,000 lines of code.

For a more minimal example, please visit https://github.com/foreverflying/ezh-demo Readme page. It shows a tiny interactive example implemented in ~40 lines. It’s meant to be readable at a glance—no documentation required.

Design highlights

Quick self-intro first: my name is Ezh (pronounced like “edge”).

Some technical choices that define the framework:

TypeScript-only Ezh supports only TypeScript—both for authoring and compilation. No JavaScript mode. Every HTML element and every component is statically typed. Typos in attributes are caught immediately.

TSX-first, React-compatible syntax TSX is a first-class citizen. Existing React TSX codebases can often be partially reused. In many cases, removing framework-specific glue code is enough to migrate.

O(1) DOM updates without Virtual DOM diffing DOM updates are driven by an original, field-level dependency mechanism. A single state field change triggers the minimal necessary update set—nothing else. No virtual DOM trees, no diffing passes.

Configurable delayed disposal & reuse DOM subtrees can be retained briefly after unmount. If a user switches tabs away from a complex 1,000+ node subtree and returns shortly after, the rebuild cost is close to zero.

Batteries included, but small React’s core package is ~172KB, and routing, state management, and TypeScript types are all separate concerns. Ezh ships as a single npm package (~41.5KB unpacked), including ~18KB of type definitions. Routing, state management, and lifecycle control are all included in the remaining ~21KB of runtime code.

Status

The ezh npm package is already usable today. You can learn it directly from the demo source code; about an hour is enough.

The core source code will be open-sourced. That has always been the plan, though it may take a bit more time.

Study confirms experience beats youthful enthusiasm

https://www.theregister.com/2026/02/07/boomers_vs_zoomers_workplace/
1•Willingham•3m ago•0 comments

The Big Hunger by Walter J Miller, Jr. (1952)

https://lauriepenny.substack.com/p/the-big-hunger
1•shervinafshar•4m ago•0 comments

The Genus Amanita

https://www.mushroomexpert.com/amanita.html
1•rolph•9m ago•0 comments

We have broken SHA-1 in practice

https://shattered.io/
1•mooreds•10m ago•1 comments

Ask HN: Was my first management job bad, or is this what management is like?

1•Buttons840•11m ago•0 comments

Ask HN: How to Reduce Time Spent Crimping?

1•pinkmuffinere•12m ago•0 comments

KV Cache Transform Coding for Compact Storage in LLM Inference

https://arxiv.org/abs/2511.01815
1•walterbell•17m ago•0 comments

A quantitative, multimodal wearable bioelectronic device for stress assessment

https://www.nature.com/articles/s41467-025-67747-9
1•PaulHoule•18m ago•0 comments

Why Big Tech Is Throwing Cash into India in Quest for AI Supremacy

https://www.wsj.com/world/india/why-big-tech-is-throwing-cash-into-india-in-quest-for-ai-supremac...
1•saikatsg•19m ago•0 comments

How to shoot yourself in the foot – 2026 edition

https://github.com/aweussom/HowToShootYourselfInTheFoot
1•aweussom•19m ago•0 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
3•archb•21m ago•0 comments

From Human Thought to Machine Coordination

https://www.psychologytoday.com/us/blog/the-digital-self/202602/from-human-thought-to-machine-coo...
1•walterbell•21m ago•0 comments

The new X API pricing must be a joke

https://developer.x.com/
1•danver0•22m ago•0 comments

Show HN: RMA Dashboard fast SAST results for monorepos (SARIF and triage)

https://rma-dashboard.bukhari-kibuka7.workers.dev/
1•bumahkib7•22m ago•0 comments

Show HN: Source code graphRAG for Java/Kotlin development based on jQAssistant

https://github.com/2015xli/jqassistant-graph-rag
1•artigent•28m ago•0 comments

Python Only Has One Real Competitor

https://mccue.dev/pages/2-6-26-python-competitor
3•dragandj•29m ago•0 comments

Tmux to Zellij (and Back)

https://www.mauriciopoppe.com/notes/tmux-to-zellij/
1•maurizzzio•30m ago•1 comments

Ask HN: How are you using specialized agents to accelerate your work?

1•otterley•31m ago•0 comments

Passing user_id through 6 services? OTel Baggage fixes this

https://signoz.io/blog/otel-baggage/
1•pranay01•32m ago•0 comments

DavMail Pop/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway

https://davmail.sourceforge.net/
1•todsacerdoti•33m ago•0 comments

Visual data modelling in the browser (open source)

https://github.com/sqlmodel/sqlmodel
1•Sean766•35m ago•0 comments

Show HN: Tharos – CLI to find and autofix security bugs using local LLMs

https://github.com/chinonsochikelue/tharos
1•fluantix•35m ago•0 comments

Oddly Simple GUI Programs

https://simonsafar.com/2024/win32_lights/
1•MaximilianEmel•35m ago•0 comments

The New Playbook for Leaders [pdf]

https://www.ibli.com/IBLI%20OnePagers%20The%20Plays%20Summarized.pdf
1•mooreds•36m ago•1 comments

Interactive Unboxing of J Dilla's Donuts

https://donuts20.vercel.app
1•sngahane•37m ago•0 comments

OneCourt helps blind and low-vision fans to track Super Bowl live

https://www.dezeen.com/2026/02/06/onecourt-tactile-device-super-bowl-blind-low-vision-fans/
1•gaws•39m ago•0 comments

Rudolf Vrba

https://en.wikipedia.org/wiki/Rudolf_Vrba
1•mooreds•39m ago•0 comments

Autism Incidence in Girls and Boys May Be Nearly Equal, Study Suggests

https://www.medpagetoday.com/neurology/autism/119747
1•paulpauper•40m ago•0 comments

Wellness Hotels Discovery Application

https://aurio.place/
1•cherrylinedev•41m ago•1 comments

NASA delays moon rocket launch by a month after fuel leaks during test

https://www.theguardian.com/science/2026/feb/03/nasa-delays-moon-rocket-launch-month-fuel-leaks-a...
2•mooreds•42m ago•0 comments