javascript

137 stories and discussions about javascript, aggregated from every source we track.

1.

Hi everyone! A little late, perhaps, but in this article, I’d like to share that my new project is...

63 points•anthonymax•about 2 months ago•2 comments
2.

Thirty years in, the JavaScript ecosystem would like to see other languages. They're younger, leaner and faster. What could possibly go wrong?

45 points•maroun-baydoun•2 months ago•29 comments•
3.
41 points•carlana•over 4 years ago•9 comments
4.

Before diving into this article, I have to say that I haven't been a front-end developer for a very,...

37 points•nazar-boyko•about 2 months ago•9 comments
5.

Every time Figma renders a complex design instantly, or Google Sheets recalculates a huge spreadsheet...

37 points•james_anderson_h•about 2 months ago•24 comments
6.

"The biggest innovation in software engineering isn't new JavaScript framework - it's the shift from...

29 points•hizba_cloud•about 2 months ago•6 comments
7.
27 points•threkk•about 3 years ago•4 comments
9.

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.

25 points•lthms•over 7 years ago•9 comments
10.

An homage to Aphyr's Typing the technical interview

23 points•banna•over 3 years ago•4 comments
11.

This video (the script, the voice timings, the source code, the storyboard, the briefs the subagents...

21 points•peter•about 2 months ago•4 comments
12.

I used to joke that the history of frontend development could be retraced by following the argument...

21 points•ryansolid•2 months ago•4 comments
13.

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.

21 points•handfuloflight•2 months ago•1 comment•
14.

The one where I pen some premium rage bait.

20 points•alanmeira•about 1 year ago•11 comments
15.

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.

20 points•mmazzarolo•over 4 years ago•17 comments
16.

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…

20 points•kabir•over 9 years ago•5 comments
18.

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.

17 points•binroot•about 2 months ago•2 comments
19.

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.

17 points•BinRoo•about 2 months ago•8 comments•
20.

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…

15 points•adamshaylor•over 2 years ago•0 comments
21.
22.

Tau Prolog: A Prolog interpreter in JavaScript.

15 points•mjn•almost 9 years ago•0 comments
23.

Why I believe patching globals is a bad API design.

14 points•carlana•over 2 years ago•5 comments
25.

So yeah... Crowdwide is finally public. I've been working on it for more than 15 days before the...

13 points•puneetkumar2010•2 months ago•3 comments
26.

<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>

13 points•darthdeus•almost 9 years ago•3 comments
27.

An overview of what&#039;s new in language features, frameworks, runtimes, build tools, testing, and more.

12 points•eustoria•about 2 months ago•2 comments•
28.

A library and language for building parsers, interpreters, compilers, etc. - ohmjs/ohm

12 points•learnbyexample•over 5 years ago•0 comments
29.
12 points•calvin•about 7 years ago•0 comments
30.

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.

11 points•parsajiravand•2 months ago•0 comments
33.
35.

This is the third post in my "My Open-Source Projects" series, where I go through some of the OSS...

8 points•florianrappl•2 months ago•2 comments
37.

computer art! non-24-hour sleep/wake exhibit

7 points•hugoarnal•2 months ago•0 comments
38.

Let's build a utility to check what variables have been added or leaked to the global window object at runtime by JavaScript code.

7 points•mmazzarolo•over 4 years ago•0 comments
40.

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.

6 points•parsajiravand•about 2 months ago•0 comments
41.

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.

6 points•parsajiravand•about 2 months ago•1 comment
42.

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.

6 points•parsajiravand•about 2 months ago•0 comments
43.

Developers love building backends. APIs. Databases. Authentication. Servers. Queues. Cloud...

6 points•robertadam987_•2 months ago•0 comments
44.

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.

6 points•parsajiravand•2 months ago•0 comments
46.

A practical intro to PureScript for Node and JavaScript developers.

6 points•paf31•over 10 years ago•0 comments
48.

<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>

6 points•mediremi•about 12 years ago•0 comments
49.

Benchmark TypeScript 7 safely, compare real project results, and find compatibility problems before changing your main branch.

5 points•johnnylemonny•about 2 months ago•0 comments
50.

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.

5 points•parsajiravand•about 2 months ago•0 comments
51.

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.

5 points•codenameone•2 months ago•0 comments
52.

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.

5 points•parsajiravand•2 months ago•1 comment
53.
56.

A simple webpack tutorial. Contribute to AriaFallah/WebpackTutorial development by creating an account on GitHub.

5 points•pushcx•almost 11 years ago•0 comments
57.

A simple webpack tutorial. Contribute to AriaFallah/WebpackTutorial development by creating an account on GitHub.

5 points•joshuacc•almost 11 years ago•0 comments

Related topics