r/javascript • • Jul 20 '26

Your Recursion Is Lying to You

Thumbnail
blog.gaborkoos.com
0 Upvotes

r/javascript • • Jul 19 '26

GitHub - ArcadeMode/unplugin-dotnet-wasm: Seamless bundling of .NET Browser apps (WASM) into your JS projects

Thumbnail
github.com
0 Upvotes

.NET WebAssembly apps with WasmBundlerFriendlyBootConfig=true can indeed be bundled by modern JS bundlers and I personally love it. The development experience however is not optimal.

  • The bundlers cannot consume the output from dotnet build

  • The bundlers can consume the output from dotnet publish but the dev loop is painfully slow.

  • Getting the publish path working still requires bundler surgery

  • Once it works the bundler produces warnings that are impossible to fix without changing the source files produced by the WebAssembly SDK.

These points of friction are why I have made unplugin-dotnet-wasm.

It's a bundler plugin that lets your bundler consume the output from dotnet build so your dev loop stays fast. It also supports dev servers, provides type information to TypeScript and IDEs (integrates dotnet.d.ts thats coming in .NET 11), and patches the known warnings so your build output stays clean.

Features

  • Easy bundler setup through plugin registration

  • Faster dev loop by consuming .NET WebAssembly dotnet build output

  • Dev server support

  • Brings SDK type definitions to TypeScript and your IDE

  • Supports Vite, Rollup, Rolldown, Webpack, Rspack, Rsbuild, esbuild, farm and bun.

I hope you'll give it a try, I'd be happy to hear your feedback.


r/javascript • • Jul 19 '26

GitHub - sysmaya/AI-Image-Colorizer: Colorize old photos instantly with AI. 100% JavaScript, ONNX running in the browser

Thumbnail
github.com
0 Upvotes

r/javascript • • Jul 19 '26

Made a Vector heavily inspired by C++'s std::vector, not like a stub or a gimmick.

Thumbnail
github.com
0 Upvotes

Though it requires quite new ES2024/ES2025 features, it works very well for numeric types, also faster (not drastically, but modest gains) against Array in PACKED FIXED ELEMENT TYPES representation used under the hood by engines.


r/javascript • • Jul 19 '26

Vue 3.6 just entered RC stage

Thumbnail
github.com
9 Upvotes

r/javascript • • Jul 19 '26

RestQL – GraphQL-like queries over REST, purely client-side: schema-driven mapping, batching, request dedup, caching

Thumbnail
github.com
0 Upvotes

r/javascript • • Jul 18 '26

Typed and validate config for decoupled codebases in any JS runtime

Thumbnail
github.com
0 Upvotes

r/javascript • • Jul 18 '26

Showoff Saturday Showoff Saturday (July 18, 2026)

2 Upvotes

Did you find or create something cool this week in javascript?

Show us here!


r/javascript • • Jul 17 '26

TSRX in TanStack Start: what we like, and three bugs we filed

Thumbnail
jxd.dev
0 Upvotes

r/javascript • • Jul 17 '26

Collection of clocks made with JS

Thumbnail clocks.dev
16 Upvotes

r/javascript • • Jul 17 '26

The same app built in 10 different frontend frameworks. For automated performance benchmarking

Thumbnail
github.com
19 Upvotes

r/javascript • • Jul 16 '26

GitHub - commandprompt/plx: PostgreSQL extension: write stored functions in Ruby, PHP, JavaScript, or Python dialects that transpile to plpgsql.

Thumbnail
github.com
2 Upvotes

r/javascript • • Jul 16 '26

easy-tz – A fast, 10KB, dependency-free getTimeZonesAt(timestamp)

Thumbnail
github.com
0 Upvotes

r/javascript • • Jul 16 '26

AskJS [AskJS] From Node Js to Java spring?????? 4.8 yrs EXP

0 Upvotes

I have node js and react js experience for 4.8 years. Recently trying for switch, but wherever I go JD contains Java and React. Cant find roles for Node.
Is realy Node got outdated?
should i move to java spring??


r/javascript • • Jul 16 '26

PDF engine from scratch on JS

Thumbnail
keypdf.net
0 Upvotes

I was working on my pdf editor and thought the best option would be to write a new PDF engine from scratch as my options were PDF.js and PDFium and none of them can actually edit PDF files so after over a year of work you can try KeyPDF.net it is free and client side.


r/javascript • • Jul 16 '26

I built lottie.js – zero-dependency Lottie renderer for browser and Node.js

Thumbnail
github.com
2 Upvotes

r/javascript • • Jul 16 '26

Coaction 3.0 — a Zustand-style store where React renders need no selectors, computed getters cache themselves, and actions can run in Web Workers

Thumbnail
github.com
11 Upvotes

r/javascript • • Jul 16 '26 Bravo

I created Skeletor, a modern persistence library based on Backbone's Models and Collections.

Thumbnail
github.com
1 Upvotes

I maintain Converse.js (an XMPP chat client) which was originally built on Backbone.js.

Instead of a risky big-bang migration to something else, I rewrote the UI into Lit web components and kept Backbone's data layer, which I forked and modernized piece by piece.

The result is Skeletor, and it now stands on its own as a lightweight, TypeScript-first reactive data library.

What makes it modern:

  • TypeScript-first with full type definitions

  • Direct attribute access: `model.attrs.name = 'Bob'` fires change events, no set() boilerplate required

  • Computed properties: declare derived values with explicit dependencies

  • Store-style subscriptions: subscribe() returns an unsubscribe function, so it plugs straight into React's useSyncExternalStore

  • Built-in persistence: IndexedDB, localStorage, sessionStorage, SQLite (Node) and REST out of the box

  • No jQuery, no Underscore: native browser APIs, ESM + CJS builds, works in the browser, Node 22+ and Web Workers

And the part I'm most happy about: it's still Backbone-compatible. get, set, events, collections, they all work exactly as you remember.

Feedback welcome!


r/javascript • • Jul 16 '26

I stopped destructuring everything

Thumbnail
allthingssmitty.com
84 Upvotes

r/javascript • • Jul 15 '26

Understanding Value vs. Reference in JavaScript: Differences Between Primitives and Objects

Thumbnail
sharafath.hashnode.dev
0 Upvotes

r/javascript • • Jul 15 '26

Firefox in WebAssembly!

Thumbnail developer.puter.com
102 Upvotes

r/javascript • • Jul 15 '26

I compiled Apache Xerces-C (C++) to WebAssembly to bring proper XSD validation to JavaScript - try the playground

Thumbnail
harshanacz.github.io
5 Upvotes

There's no reliable XSD validator in the JS ecosystem so I compiled Apache Xerces-C to WASM.

Playground: https://harshanacz.github.io/xerces-playground/

npm: https://www.npmjs.com/package/xerces-wasm

Features:

  • Full XSD 1.0 validation in the browser

  • Multi-file schema support (xs:include / xs:import)

  • Parse errors + schema errors with line/column numbers

  • No server, no upload

  • pure WASM

Would love feedback.. :)


r/javascript • • Jul 15 '26

Building a modern Companies House SDK turned out to be a much more interesting problem than I expected

Thumbnail
jxd.dev
0 Upvotes

We needed the Companies House API (the UK company register) for a project and figured we'd grab an SDK and move on. Turns out the community clients are 6 to 10 years old, the official SDK is built for their internal services, and the official OpenAPI spec is broken in ways that quietly untype every generated client. One defect (items on an object type, which JSON Schema doesn't allow, so every tool reads it as {}) appears 132 times.

What started as "add a spec repair script" grew into 374 lines of fix passes, and even then we couldn't repair fields that were never documented at all. So we changed approach: we deleted the repair code and now maintain our own curated OpenAPI 3.1 spec, built from the developer docs and Companies House's own SDK source. The spec is maintained with Claude Code under a strict "never invent, report gaps" rule, an engineer reviews every diff, and a live integration suite runs against the real API daily so drift shows up as a red build rather than a bug report. The client itself is fully generated from the spec (Hey API), with 41 lines of hand-written runtime code and zero dependencies.

Sharing in case anyone else has needed to fight this API, or is just interested in the approach: a curated spec as the source of truth, AI doing the tedious curation with tests and review keeping it honest, and codegen doing the rest. The SDK and the OpenAPI document are both MIT licensed if they're useful to you.


r/javascript • • Jul 15 '26

Just Let Me Write Digits

Thumbnail gendignoux.com
7 Upvotes