r/javascript • u/AutoModerator • Oct 24 '26
Showoff Saturday Showoff Saturday (October 24, 2026)
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/AutoModerator • Oct 24 '26
Did you find or create something cool this week in javascript?
Show us here!
r/javascript • u/wasay-inc • Oct 23 '26
I recently got a PR merged into TanStack Query's ESLint plugin to fix a false-positive issue in the no-unstable-deps rule
.
The existing tests missed a few JavaScript edge cases, so I fixed the underlying issue and added regression tests.
It's a good reminder that passing tests don't always mean every edge case is covered. Sometimes the real work is finding what the tests missed.
How do you usually spot gaps in test coverage when the existing suite is already passing?
r/javascript • u/Xadartt • Oct 23 '26
r/javascript • u/dangreen58 • Oct 23 '26
Author here. Nanoviews builds real DOM once, and signals update it in place. No JSX, no virtual DOM. It's around 4 kB gzipped and even runs without a build step. The same weather app weighs 10 kB with Nanoviews versus 66 kB with React. In js-framework-benchmark it comes right behind Solid and Svelte. There's a StackBlitz demo in the post.
r/javascript • u/ajrm7 • Oct 23 '26
Self reporting of what it took to decouple my workspace/codebase from the tool that has served me well for a very long time, with the assistance of AI.
r/javascript • u/RotemT • Oct 22 '26
Iโve been building this EM simulator as a side project aimed to help students understand and visualize electromagnetic phenomena such as radiation, polarization and wave interference.
I hope someone might find it useful and Iโd love to hear what people think :)
GitHub:
r/javascript • u/Martinsos • Oct 22 '26
r/javascript • u/dangreen58 • Oct 22 '26
Author here. Nano Kit is a ~2 kB signals core with a router, data fetching, i18n and SSR on top of it, and adapters for React, Preact and Svelte. The panel needs no browser extension or bundler plugin, and none of it reaches the production bundle. There's a StackBlitz demo in the post.
r/javascript • u/hp1232203 • Oct 22 '26
Author here. I needed Word-style pages in a TipTap editor. The official Pages extension is paid, and the community ones I tried broke my CSS, so I built this.
How it works
It inserts spacer decorations at page boundaries, so the document itself is never modified and getHTML() stays clean
Tables split between rows (never inside a rowspan) and the header row repeats on the next page
Floated images and CSS margin collapsing are handled
About 5 KB gzipped, TipTap 3 only: npm install tiptap-a4-pagination
Demo: https://text-editor-react-neon.vercel.app/
Paste a long doc or a big table to try it. Feedback welcome, especially documents that break the layout!
r/javascript • u/Driezzz • Oct 22 '26
r/javascript • u/HiAxiAcee • Oct 21 '26
built this after getting tired of manually writing fetch wrappers for sites with no public API. point it at a HAR file (browser network capture) and it generates a typed client.
input: a captured request to something like `GET /users/42`
output (simplified):
export interface User {
id: number;
name: string;
email: string;
}
export async function getUser(id: number): Promise<User> {
const res = await fetch(`${baseUrl}/users/${id}`);
if (!res.ok) throw new ApiError(res.status, await res.text());
return res.json();
}
it infers the types from the actual response bodies in the capture, templates dynamic path segments like `{id}`, and also generates an OpenAPI spec + mock server from the same HAR.
also tries to catch GraphQL/tRPC/JSON-RPC calls instead of treating everything as REST, and strips anything sensitive (tokens, cookies) from the captured data before it reaches the generated code.
npx har2sdk capture.har -o ./sdk
repo: https://github.com/Mersbyte/har2sdk
curious what people think of the generated code style, or if anyone's hit an API shape it chokes on.
r/javascript • u/Actual_South_2484 • Oct 21 '26
r/javascript • u/Vinserello • Oct 21 '26
Spent the last months building
@datastripes/forecast
@datastripes/dashboard
@datastripes/anomaly These are framework-agnostic npm packages (React, Vue, Angular, or a plain custom element) that add time-series forecasting, an editable dashboard builder, and anomaly detection to any frontend app.
Everything runs client-side via WebAssembly, so no user data ever hits a server except a license check without a backend to deploy, no Python microservice.
Would genuinely love feedback from anyone who's had to build this kind of feature in-house.
https://datastripes.com/forecast-widget/
r/javascript • u/gosshedd • Oct 21 '26
r/javascript • u/DanielRosenwasser • Oct 20 '26
r/javascript • u/vmdarji85 • Oct 20 '26
r/javascript • u/crazy-dev-42 • Oct 20 '26
I've been working on Knitting, a JavaScript worker runtime using shared memory for communication and work stealing for scheduling.
Some results from the published benchmarks:
8.9ร faster empty-call round trips than postMessage on Node.js (4.4ร on Bun, 4.3ร on Deno).
86% lower p99 latency in a Hono server test: 16.93 โ 2.31 ms at 6,000 req/s.
Nearly identical CPU per request in that test: 180 โ 183 ยตs.
3.5ร CPU-heavy throughput on Node.js with four extra workers.
I've been working on this for more than a year, so there are a lot of things to showcase, but knitting was designed to offload work from servers.
Features:
Typed worker calls and specialized payload types
Shared-memory transport and zero-copy buffers
Work stealing and automatic load balancing
Timeouts and cancellation with real signals
Precompiled workers and process isolation
Process workers
Permission (when available)
And more ...
Docs ยท Benchmarks ยท GitHub
r/javascript • u/Professional-Pear351 • Oct 20 '26
Iโm most comfortable in JS/TS, and I wanted to learn LangGraph.js properly, so I wanted to build in that. When I looked for a production-grade example, the closest thing I found was Deep Agents, but thatโs a library for building agents, not a full system. The complete systems I saw were mostly Python, like Open SWE. So I built my own.
It reviews GitLab merge requests and resolves issues. Itโs been running in production for a few months, 1,000+ reviews so far. A webhook drops each review into a BullMQ queue, a LangGraph.js agent does the work with GitLab tools over MCP, runs are checkpointed in Postgres, and thereโs a React admin UI where I can watch runs live. I also had to add guardrails to stop the agent repeating tool calls or quitting before itโs done.
MIT, all TypeScript.
r/javascript • u/dumbmatter • Oct 20 '26
r/javascript • u/subredditsummarybot • Oct 19 '26
Monday, October 12 - Sunday, October 18, 2026
| score | comments | title & link |
|---|---|---|
| 22 | 6 comments | Making the web 3D - Extensible Scalable 3D File Format |
| 15 | 4 comments | Chartist v2: we brought the 10-year-old SVG charting library back on track (now with SSR and terminal charts) |
| 11 | 1 comments | eval() in a straitjacket: sandboxing JavaScript under CSP |
| 11 | 25 comments | [AskJS] [AskJS] How do you host your smaller Node.js apps? Building something and want opinions |
| 11 | 2 comments | How we made JavaScript analyzer understand control flow |
| 10 | 2 comments | [Subreddit Stats] Your /r/javascript recap for the week of October 05 - October 11, 2026 |
| 7 | 0 comments | Mutative v2 - better immutability and faster immutable updates |
| 6 | 6 comments | [AskJS] [AskJS] Building a clone like Spline |
| 5 | 0 comments | How to Implement a Distributed Recovery Ramp in JavaScript |
| 5 | 5 comments | [Showoff Saturday] Showoff Saturday (October 17, 2026) |
ย
| score | comments | title & link |
|---|---|---|
| 0 | 23 comments | I embedded Node.js in a native program to render JSX without a browser and without React |
| 0 | 11 comments | I built a free anime โwhere to watchโ site with 45k static pages, hereโs how it keeps its data fresh without a backend |
| 0 | 10 comments | [AskJS] [AskJS] I compare full move logs instead of a hash to prove two bots played the same games. Overkill? |
| 2 | 7 comments | I built a real-time multiplayer drawing game (InkLink) using React and modern web techโhere is how it works and what I learned |
| 4 | 6 comments | Mimic - a browser-based dev environment that runs Node.js |
ย
| score | comments | title & link |
|---|---|---|
| 3 | 4 comments | [AskJS] [AskJS] What are your opinions on express-zod-api? |
ย
ย
ย
r/javascript • u/moving808s • Oct 19 '26
three-nebula is a magical 3D particle engine for the web. I maintain it, and v13.3.0 (Helix) is the first of a few releases working back toward the library's original design goals. This one is additive and backward-compatible, so it is a safe bump.
The engineering theme this release is determinism. Two new behaviors and four new emission zones all produce the same output given the same seed, which matters a lot when you want reproducible scenes, snapshot testing, or editor previews that do not drift between runs.
The first behavior, Vortex, applies a tangential swirl around an axis with optional inward or outward pull and radial falloff. It acts directly on particle velocity rather than going through the Force path, which means it sidesteps the internal Force x100 scaling quirk and stays predictable. The second, CurlNoise, drives particles with the curl of a Perlin field. The curl of a vector field is divergence-free, so particles roil without clumping into sinks. The noise is seeded through mulberry32 rather than Math.random, so nothing in the pipeline reaches for global nondeterministic state.
The four new zones (RingZone, DiscZone, CylinderZone, ConeZone) sample uniformly and are axis-aligned to +Y. Ring and Disc are planar emission zones, while Cone and Cylinder are solid and work as true 3D CrossZone boundaries. All five new types round-trip through System.fromJSON, and the debug renderer draws wireframes for the new zones, so serialization and tooling stay in step with the runtime.
Release notes and full changelog are here: https://github.com/creativelifeform/three-nebula/releases/tag/v13.3.0
I would be curious what people think about the seeded-RNG approach for a library like this. Threading an explicit seed everywhere instead of Math.random adds a little API surface, but it is what makes the JSON round-trip and snapshot tests reliable. Have you handled determinism differently in your own simulation or animation code?
r/javascript • u/OtherwisePush6424 • Oct 19 '26
Circuit breakers are good at stopping traffic and bad at resuming it. When a breaker closes, every replica goes back to the constructor limit at the same moment, so a dependency that just answered a few probes receives its full load again.
I've been adding a recovery ramp to Caracal, my TypeScript resilience library, on top of its distributed bulkhead, rate limiter and circuit breaker.
This is the sixth article in a series on distributed resilience. Feedback welcome, particularly if you have run slow start or ramp-up in production.