DEV Community

Cover image for Neutronium is back – here's everything that changed since v3
PFMCODES
PFMCODES

Posted on • Edited on

Neutronium is back – here's everything that changed since v3

Neutronium is back – here's everything that changed since 1000 downloads

Eight months ago I posted about Neutronium hitting 1,000 downloads in its first 24 hours. A lot has changed since then.

Neutronium is now at v3.4.5, and it's a completely different project from what I launched in July.


What is Neutronium?

A lightweight JavaScript framework built for developers who want explicit control, predictable behavior, and zero unnecessary abstractions.

React-like ergonomics. No virtual DOM. No build step. No heavy runtime.

npm install neutronium
Enter fullscreen mode Exit fullscreen mode

What's new since launch

It got smaller

The original release was ~139kb unpacked. It's now 57.7kb — more than half the size, with more features.

Hooks

useState and useEffect are now supported. If you're coming from React, you already know how to use them.

React-like JSX syntax

Neutronium now uses JSX-style syntax, making it much easier to switch from React without relearning everything.

import { createApp } from 'neutronium'

function Greeting({ name }) {
  return <h2>Hello, {name}!</h2>;
}

export default function App() {
  return (
    <>
      <h1>Welcome to Neutronium</h1>
      <Greeting name="yourName" />
    </>
  );
}

createApp(App).mount('body');
Enter fullscreen mode Exit fullscreen mode

Browser-safe compiler

One of the biggest additions: /sandbox.mjs — a browser-safe compiler that lets you run Neutronium without Node.js. Perfect for online editors and playgrounds.

import { compile } from "neutronium/sandbox.mjs";
const result = compile(code);
Enter fullscreen mode Exit fullscreen mode

TypeScript support

TypeScript types are now included (~4.35kb). No separate package needed.

Ecosystem

Two companion packages are now available:

  • @neuhq/alert
  • neutronium-alert

The full picture

July 2025 Now
Version v3.0.0 v3.4.5
Size ~139kb ~57.7kb
Hooks No Yes
JSX Yes Yes
Browser compiler No Yes
TypeScript Broken Yes
Playground No Yes

Links


If you tried Neutronium back in July and moved on — it's worth another look. And if you're hearing about it for the first time, I'd love to know what you think.

Top comments (0)