javascript
137 stories and discussions about javascript, aggregated from every source we track.
Hi everyone! A little late, perhaps, but in this article, I’d like to share that my new project is...
Thirty years in, the JavaScript ecosystem would like to see other languages. They're younger, leaner and faster. What could possibly go wrong?
Before diving into this article, I have to say that I haven't been a front-end developer for a very,...
Every time Figma renders a complex design instantly, or Google Sheets recalculates a huge spreadsheet...
"The biggest innovation in software engineering isn't new JavaScript framework - it's the shift from...
A drop-in JavaScript runtime with built-in TypeScript, npm support, and security by default. Run your existing Node project on Deno with no setup.
An homage to Aphyr's Typing the technical interview
This video (the script, the voice timings, the source code, the storyboard, the briefs the subagents...
I used to joke that the history of frontend development could be retraced by following the argument...
Cube is a zero-dependency JavaScript animation library with four fixed motions, adapters for React, Vue, Solid and Svelte, and reduced-motion support. Built on the Web Animations API.
The one where I pen some premium rage bait.
Delving deep into how to determine whether a JavaScript native function has been monkey patched, and why it's not possible to determine it reliably.
I’ve been using <a href="https://vuejs.org" target="_blank">Vue</a> for a while now, it solves all my problems, and does it beautifully. After a while, in late 2015, I began to notice some performance issues with my…
JavaScript's ${{ name }} looks like a Mustache template but parses as an object literal inside a tagged template literal. The pun behind Helicone's prompt tag.
JavaScript's ${{ name }} looks like a Mustache template but parses as an object literal inside a tagged template literal. The pun behind Helicone's prompt tag.
useDeferredValue is one of the most underrated React hooks. It allows us to dramatically improve the performance of our applications in certain contexts. I recently used it to solve a gnarly performance problem on this…
Tau Prolog: A Prolog interpreter in JavaScript.
Why I believe patching globals is a bad API design.
So yeah... Crowdwide is finally public. I've been working on it for more than 15 days before the...
<p>A Bloom filter is a simple yet powerful data structure. It allows you to answer the question have you seen this before? in a very fast and memory efficient way. Unlike a regular set, a Bloom filter only needs to store a few bits per item instead of storing the whole thing. The trick is, a Bloom filter will be able to tell you if something is not present in the set with 100% certainty, but if you ask it if something is present in the set, you might get a false positive. That means the response could be true, even if the item was never stored in the set.</p>
An overview of what's new in language features, frameworks, runtimes, build tools, testing, and more.
A library and language for building parsers, interpreters, compilers, etc. - ohmjs/ohm
Your full-screen hero looks perfect in the simulator and cuts off the CTA on a real phone. It's not a bug in your code — it's `vh` answering a question you didn't ask. Three new units fix it with zero JavaScript.
This is the third post in my "My Open-Source Projects" series, where I go through some of the OSS...
computer art! non-24-hour sleep/wake exhibit
Let's build a utility to check what variables have been added or leaked to the global window object at runtime by JavaScript code.
For years, 'has the user stopped scrolling?' was a guess: debounce the scroll event, pick a delay, hope. The scrollend event answers the question directly — and as of Safari 26.2, it finally works everywhere. Here's the bug the guess causes, and the one-line fix.
You want to peek at whether location access is already granted before showing your own 'why we need this' banner. Calling getCurrentPosition() to find out fires the real system prompt. navigator.permissions.query() reads the state without ever asking.
Autosave into localStorage looks harmless right up until the draft gets big. The API is synchronous by spec, so every write freezes the page for exactly as long as it takes — and debouncing doesn't fix it. IndexedDB does.
Developers love building backends. APIs. Databases. Authentication. Servers. Queues. Cloud...
You're about to build a canvas-based color picker with a magnifier loupe. Chrome shipped a native one years ago — and it can sample pixels your own canvas can't even see.
A practical intro to PureScript for Node and JavaScript developers.
<p>A node module that I created to get Lobsters stories.</p> <p>I <a href="https://github.com/medimatrix/lobste.rs-node/wiki/Using-lobste.rs-node-with-Emacs" rel="ugc">use it with emacs</a>.</p>
Benchmark TypeScript 7 safely, compare real project results, and find compatibility problems before changing your main branch.
requestIdleCallback promises to run only when the browser has spare cycles — but on a page that's never truly idle, that promise has no upper bound. Here's why the callback can stall, why the timeout escape hatch has its own trap, and when to reach for it instead of setTimeout or scheduler.yield.
Codename One removes native startup waits, repeated style scans, and unnecessary JavaScript suspension. Profiles and compiler benchmarks expose costs that bundle size and frame rates miss.
A drop zone with a correctly wired drop listener that never fires — no error, no typo, nothing in the console. The browser is silently refusing the drop by design, and only one specific line stops it.
A simple webpack tutorial. Contribute to AriaFallah/WebpackTutorial development by creating an account on GitHub.
A simple webpack tutorial. Contribute to AriaFallah/WebpackTutorial development by creating an account on GitHub.