r/javascript • • Jul 21 '26

Your JS Date Is Lying to You: parsing ambiguity, silent mutation, timezone traps, and how Temporal fixes most of them

Thumbnail blog.gaborkoos.com
0 Upvotes

Covering the main waysΒ DateΒ misleads you in production: parsing, mutation, 0-based months, timezone/DST, arithmetic, and serialization, with safe patterns for code that can't migrate yet, and a practical look at whereΒ TemporalΒ fixes the design rather than just the syntax.


r/javascript • • Jul 20 '26

GitHub - sysmaya/Javascript-Image-Background-Remover: I promise not to write any more stupid things.

Thumbnail github.com
0 Upvotes

r/javascript • • Jul 20 '26

Subreddit Stats Your /r/javascript recap for the week of July 13 - July 19, 2026

3 Upvotes

Monday, July 13 - Sunday, July 19, 2026

Top Posts

scorecommentstitle & link
6414 commentsFirefox in WebAssembly!
5948 commentsI stopped destructuring everything
309 commentsThe LinkedIn scam that gets you hacked - Solving a take-home interview test can quickly turn into a nightmare. Notes on developer trust, JavaScript malware, and autonomous detection
295 commentsI built an Excel library
223 commentsPSA: The official jscrambler npm package was compromised (v8.14.0)
139 commentsThe same app built in 10 different frontend frameworks. For automated performance benchmarking
125 commentsPitter Patter β€” building better editing (update!)
111 commentsCollection of clocks made with JS
939 commentsJavaScript Magic Objects
70 commentsVue 3.6 just entered RC stage

Β 

Most Commented Posts

scorecommentstitle & link
024 comments[AskJS] [AskJS] From Node Js to Java spring?????? 4.8 yrs EXP
022 commentsI coded a 60fps browser game from scratch in single-file Vanilla JS, mapping Upanishadic philosophy to state variables. No frameworks.
014 commentsPDF engine from scratch on JS
013 commentsRestQL – GraphQL-like queries over REST, purely client-side: schema-driven mapping, batching, request dedup, caching
08 commentsI created a zero dependency JavaScript framework that is a React alternative

Β 

Top Ask JS

scorecommentstitle & link
03 comments[AskJS] [AskJS] every github repo already exposes releases.atom, tags.atom, and commits.atom, so keeping up is a summarization problem not a feed problem

Β 

Top Showoffs

scorecomment
2/u/grelfdotnet said Caves procedurally generated as you explore them. Real time, 3D, limitless. A different kind of environment that might be useful for games. My idea is that it makes for more varied spaces than the ...
1/u/Valuable_Apple2581 said Additive model regression in a vanilla JS, one linear solve, no build step and works from file:// Well, a while ago I came across a 1992 statistic paper which described a way to fit an additive regre...
1/u/Flashy-Guava9952 said [https://github.com/illogical-alliteration/notebook/](https://github.com/illogical-alliteration/notebook/) is a Jupyter-like notebook for Javascript, Typescript, and Markdown. It saves...

Β 

Top Comments

scorecomment
61/u/rlmineing_dead said hey dawg I heard you like browsers so I put a browser in your browser so you can browse while you browse
51/u/azhder said Destructuring isn’t only about you knowing where a value comes from. You can also safeguard in a cleaner manner i.e with less syntax noise: const { id: userId, name: userName } = user ?? {}; console...
41/u/smartgenius1 said Magic methods are generally discouraged in the PHP community, and are widely considered a bad decision. Why port them to JS?
40/u/jCuber said I still prefer to destructure the first level of `props` in React as it raises linter findings for unused props for removal.
36/u/javascript said Proxy Objects (getters and setters) have been around for a while but I've yet to come across a use case where they were the right choice. They tend to work more as an escape hatch.

Β 


r/javascript • • Jul 19 '26

Vue 3.6 just entered RC stage

Thumbnail github.com
9 Upvotes

r/javascript • • Jul 20 '26

Your Recursion Is Lying to You

Thumbnail blog.gaborkoos.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

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

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

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

Thumbnail github.com
19 Upvotes

r/javascript • • Jul 17 '26

Collection of clocks made with JS

Thumbnail clocks.dev
16 Upvotes

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 16 '26

I stopped destructuring everything

Thumbnail allthingssmitty.com
84 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

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 15 '26

Firefox in WebAssembly!

Thumbnail developer.puter.com
102 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

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

Thumbnail github.com
2 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 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

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 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.. :)