JavaScript

[ follow ]
#javascript
JavaScript
fromallthingssmitty.com
3 weeks ago

How to group arrays in JavaScript without reduce() - Matt Smith

Object.groupBy() and Map.groupBy() provide native, concise ways to group array elements by callback-generated keys.
JavaScript
fromInfoWorld
22 hours ago

8 new JavaScript features you might have missed

ES11 (ECMAScript 2020) adds ergonomic JavaScript features like optional chaining and globalThis to simplify null checks and cross-environment global access.
#react
fromLogRocket Blog
2 days ago
JavaScript

7 custom React Hooks every developer should be using - LogRocket Blog

useHooks provides reusable custom React Hooks that simplify common UI patterns—responsive queries, hover handling, clipboard copying, toggles, idle detection, measurements, localStorage sync, and counters.
fromInfoWorld
3 weeks ago
JavaScript

React JS library moving from Meta to the Linux Foundation

React and React Native will move from Meta to a new Linux Foundation-hosted React Foundation to ensure neutral, community-led open-source stewardship.
fromInfoQ
2 days ago

Vite+ Unveiled with Unified Toolchain and Rust Powered Core

Vite+, the new unified JavaScript toolchain built on top of Vite, has been announced by VoidZero. Positioned as a drop-in superset of Vite, Vite+ introduces an all-in-one CLI experience, covering project scaffolding, testing, linting, formatting, library bundling, monorepo task running, and devtools visualization. The ambition is to reduce toolchain fragmentation and align large teams around a single, high-performance workflow. Vite+ aims to deliver enhancements across three primary dimensions: tooling consolidation, performance & scale, and enterprise-grade features.
JavaScript
#jquery
JavaScript
from2ality
16 hours ago

[Web dev for beginners] Shells

A shell provides a text-based interface to the operating system and uses absolute and relative file system paths to locate files and directories.
JavaScript
fromCalendar.js
1 week ago

Calendar.js : JavaScript Event Calendar

A fully featured, open-source, configurable calendar with multi-view support, import/export, drag-and-drop, multi-language capabilities, and responsive support within 48 hours.
JavaScript
fromPiccalilli
1 week ago

NaN, the not-a-number number that isn't NaN

NaN propagates through arithmetic and comparisons as an error state; NaN is unequal to every value, including itself.
fromCSS-Tricks
1 week ago

An Introduction to JavaScript Expressions | CSS-Tricks

Well, not here-here; technically, I'm over at JavaScript for Everyone to teach you JavaScript. What we have here is a lesson from the JavaScript for Everyon e module on lexical grammar and analysis - the process of parsing the characters that make up a script file and converting it into a sequence of discrete "input elements" (lexical tokens, line ending characters, comments, and whitespace), and how the JavaScript engine interprets those input elements.
JavaScript
fromLogRocket Blog
1 week ago

Goodbye, useState? Smarter state modeling for modern React apps - LogRocket Blog

React's useState provides instant gratification. You put a state in when you need one and update it wherever you want. It's easy to start with, and it's beneficial for managing local component state, but additional solutions may be necessary for larger projects. The issue isn't technical. David Khourshid, creator of XState, speaking on a recent episode of PodRocket, put it clearly: "The fundamental problem isn't React itself. React provides the primitives. However, it's the way we developers use these primitives."
JavaScript
JavaScript
fromInfoQ
1 week ago

Deno 2.5 Brings Support for Permission Sets and Test API Hooks

Deno 2.5 introduces permission sets, testing lifecycle hooks, bundle runtime API, WebSocket header improvements, and upgrades to V8 14.0 and TypeScript 5.9.2.
JavaScript
fromAllthingssmitty
1 week ago

Rethinking async loops in JavaScript - Matt Smith

Awaiting inside loops causes sequential execution; use Promise.all to run independent async calls in parallel and use Promise.allSettled or per-promise handling to avoid fail-fast.
JavaScript
fromScottjehl
2 weeks ago

For Your Convenience, This CSS Will Self-Destruct | Scott Jehl, Web Designer/Developer

Hiding essential content with CSS and relying on JavaScript to reveal it risks accessibility and reliability if JavaScript fails, delays, or errors.
#bot-detection
JavaScript
fromApp Developer Magazine
10 months ago

Introducing capn web a new javascript rpc protocol

Cap'n Web is a lightweight, schema-free TypeScript RPC protocol optimized for modern web runtimes, enabling human-readable JSON serialization and multiple transports.
#json
JavaScript
fromMedium
1 month ago

Python is consistent about modular arithmetic, like Mathematica

Mainstream programming languages' % operator yields negative remainders for negative operands, producing −3 for −3 % 4 instead of the mathematically expected 1.
fromSlicker
4 weeks ago

JavaScript Tutorial on the Fern Fractal (Barnsley Fern)

There's a quiet magic in the Barnsley fern-a simple set of rules that blossoms into a living, leafy pattern. The Barnsley fern is generated using an Iterated Function System (IFS): you repeatedly apply one of several affine transformations to a point, chosen at random with specific probabilities. Over many iterations, the points settle into the shape of a fern.
JavaScript
fromInfoWorld
4 weeks ago

The JavaScript code won't write itself

Programmers remain essential in AI-enabled development; continuous learning, especially for JavaScript developers, is necessary despite advanced AI tools.
fromInfoWorld
1 month ago

Chainguard offers malware-resistant JavaScript libraries

The libraries, which are built from source on SLSA L2 (Supply-chain Levels for Software Artifacts) infrastructure, were introduced on September 25. By securely building each library and its dependencies from source, Chainguard Libraries for JavaScript offers security and engineering teams confidence that malware has not been inserted during the build or distribution of libraries in the JavaScript ecosystem, according to Chainguard. This eliminates a significant gap in the threat landscape, Chainguard added.
JavaScript
JavaScript
fromwww.sitepoint.com
1 month ago

Is learning Vanilla JavaScript still important?

Always learn plain JavaScript fundamentals before using frameworks because frameworks can introduce bugs you can't catch without understanding core concepts.
JavaScript
fromCreativeApplications.Net
1 month ago

textmode.js - Library for dynamic ASCII art + text graphics with real-time rendering

textmode.js enables real-time, high-performance ASCII and textmode graphics in the browser with a lightweight, framework-agnostic API and WebGL2-based rendering.
JavaScript
fromGitHub
1 month ago

GitHub - mutativejs/mutative-yjs: A library for building Yjs collaborative web applications with Mutative

Mutative-Yjs enables bidirectional sync between Yjs CRDT types and plain JavaScript objects, offering immutable draft-based updates, TypeScript safety, performant patching, subscriptions, and optional customization.
JavaScript
fromLogRocket Blog
1 month ago

Yes, you should upgrade to TypeScript 5.9 - here's why - LogRocket Blog

TypeScript 5.9 delivers major improvements—performance boosts, new import defer syntax, redesigned tsc --init, and expandable hovers; upgrading is recommended.
JavaScript
fromInfoQ
1 month ago

Apollo GraphQL Client 4.0 Released with Leaner Bundles and Strengthened TypeScript Safety

Apollo Client 4.0 reduces bundle size and improves developer experience with modular opt-in features, tighter TypeScript integration, and decoupled React exports.
#typescript
JavaScript
fromeLearning
1 month ago

Beginner JavaScript Tutorial for Adobe Captivate 12 - eLearning

JavaScript can be used in Adobe Captivate 12 to create variables, interactive input fields, and simple scripts to sum user-entered numbers.
fromnetil.medium.com
1 month ago

billboard.js 3.17.0: New Axis Customization, Label Styling & Image Labels!

Image Label Support A groundbreaking feature that allows using images as labels. Create more intuitive data representations with icons, logos, and custom images. Demo: https://naver.github.io/billboard.js/demo/#Data.DataLabelBorder Can control border radius and the padding, which will let customize styles as your needs. Inner Axis Ticks Introducing the `tick.inner` option that allows you to display axis ticks inside the chart area for a cleaner, more modern chart design. Demo: https://naver.github.io/billboard.js/demo/#Axis.TickInner Specify per axes by simply enabling the tick.inner option.
JavaScript
JavaScript
fromGitHub
1 month ago

GitHub - ReactiveHTML/rimmel: A Stream-Oriented UI library for the Rx.Observable Universe.

Rimmel is a lightweight JavaScript UI library that uses reactive streams and RML to declaratively bind streams to HTML.
fromjsdevspace.substack.com
1 month ago

Friday Links 28: The Latest in JavaScript (Sep 19, 2025)

Chinese AI firm DeepSeek revealed it spent only $294,000 training its R1 model far below the hundreds of millions claimed by U.S. rivals. Using 512 Nvidia H800 accelerators, the company trained R1 in just 80 hours. The release of R1 earlier this year rattled tech markets, even denting Nvidia's valuation. DeepSeek also acknowledged limited use of A100s and defended model distillation, stressing it makes AI more accessible despite U.S. accusations of copying OpenAI's work.
JavaScript
JavaScript
fromSlicker
1 month ago

Bubble sort visualization

Bubble sort repeatedly compares adjacent elements and swaps them until an array is ordered, visualized with color-coded elements and pass-by-pass displays on an HTML5 Canvas.
JavaScript
fromjQuery Script
1 month ago

Modern jQuery Tags Input System Styled with TailwindCSS

A lightweight jQuery plugin converts standard inputs into TailwindCSS‑styled tag inputs with duplicate prevention, keyboard navigation, responsive design, and programmatic control.
from2ality
1 month ago

Learning web development: Implementing web servers

In this chapter, we'll write our own web server: It will serve files and manage the data for a browser app. Terminology: browser vs. server # The following pairs of opposites are all related: The term "client" is interesting because it is more general than the term "browser" - it refers to any app (web app, mobile app, etc.) that connects to a server. In web development, it usually means "browser" or "web app".
JavaScript
JavaScript
from2ality
1 month ago

Learning web development: Frontend frameworks

Use non-destructive JavaScript array and object operations and Preact to build frontend UI state safely without mutating original data structures.
JavaScript
fromSimplilearn.com
1 month ago

Top TypeScript Interview Questions and Answers for 2025

TypeScript interview questions with answers - master 50+ Q&As on types, interfaces, generics, decorators, functions, and async/await for interviews.
JavaScript
fromInfoWorld
1 month ago

What makes JavaScript great

ECMAScript 2025 adds a built-in Iterator, Promise.try, Set/JSON features, Float16Array; Angular and UI tooling gain AI and DevTool improvements.
JavaScript
fromSubstack
1 month ago

JavaScript Weekly Highlights: Friday Picks #27

Google's Nano Banana rapidly achieved massive adoption and integrated image-generation across multiple Google platforms while the JavaScript ecosystem saw diverse tooling and framework updates.
JavaScript
fromOreilly
2 months ago

Modern JavaScript

Use modern ECMAScript (ES6+) features like async/await and ES6 modules and transpile to ES5 to write productive, browser-compatible JavaScript.
JavaScript
fromRead the Tea Leaves
2 months ago

Why do browsers throttle JavaScript timers?

Browsers clamp setTimeout(0) to a minimum (commonly 4ms) to prevent abuse, altering timer behavior and motivating use of setImmediate or microtasks.
JavaScript
fromjsdevspace.substack.com
2 months ago

Promise.try for Unified Sync and Async Error Handling

Promise.try provides a unified, synchronous-first way to call sync or async code and consistently convert throws or returns into Promises for predictable error handling.
JavaScript
fromSearch Engine Roundtable
2 months ago

Google Adds Guidance For JavaScript-Based Paywalls

Ensure JavaScript-based paywalls do not serve full content in initial server responses; reveal full content only after confirmed subscription status to prevent unintended access.
fromRaymondcamden
2 months ago

Building a Web Based Comic Book Reader

Earlier this week, I took a look at parsing electronic comic books and sending them to GenAI as a way to get summaries of stories. That was a fun experiment and it actually worked quite well. I thought I'd take a stab at trying a similar approach with Chrome's Built-in AI support as well when I discovered that... wait... I don't actually have a way to view comics on the web. Or so I thought.
JavaScript
JavaScript
fromjQuery Script
2 months ago

Smooth, Responsive, Infinite Scrolling Carousel Plugin - GSAP Marquee

Lightweight GSAP-based plugin creates smooth, responsive, endlessly looping horizontal marquees with controls, accessibility, and multiple-instance support.
JavaScript
fromTheregister
2 months ago

Bun JS toolkit adds MySQL driver, secrets API, YAML, more

Bun 1.2.21 adds MySQL, MariaDB, and SQLite drivers, a YAML parser, a native secrets manager, security tooling, and significant bun.SQL performance improvements.
JavaScript
fromRaymondcamden
2 months ago

Unit Formatting with Intl in JavaScript

Intl.NumberFormat supports locale-aware unit formatting and Intl.supportedValuesOf('unit') returns valid unit identifiers for consistent measurement display.
fromTreehouse Blog
2 months ago

Python vs. JavaScript Comparison for 2025

If you already know JavaScript, learning Python will feel easier because many core concepts are the same. Both languages use similar data types (strings, numbers, lists/arrays, objects/dictionaries), functions with default parameters, and control flow (loops, conditionals). The biggest differences are in syntax: Python relies on indentation instead of curly braces, uses keywords like def instead of function, and is generally more concise. Your JavaScript knowledge gives you a strong head start-you'll just need to adjust to Python's style and rules.
JavaScript
JavaScript
from2ality
2 months ago

Learning web development: Booleans, comparisons and `if` statements

Use booleans, comparisons, and if statements to execute code conditionally and understand primitives versus objects, including storage and identity differences.
JavaScript
fromInfoQ
2 months ago

Oxlint v1.0 Stable Released: A Rust Based JavaScript Linter

Oxlint 1.0 offers fast linting with extensive rule coverage and simple migration tools for both open-source and enterprise projects.
fromSmashing Magazine
2 months ago

The Power Of The Intl API: A Definitive Guide To Browser-Native Internationalization - Smashing Magazine

Internationalization involves more than just text translation; it encompasses formatting dates, pluralization, and sorting according to cultural expectations. The Intl API allows modern JavaScript to handle these tasks natively.
JavaScript
fromSubstack
2 months ago

Friday JS Roundup #25 - August 1, 2025 Edition

Mistral's Codestral 25.08 is an updated model designed to enhance enterprise software development, focusing on real-world benchmarking to reduce friction in AI-assisted coding.
JavaScript
JavaScript
fromInfoWorld
2 months ago

Fun and profit with ECMAScript 2025: What's new in JavaScript

Motivation in software development balances enjoyment and the necessity of making a living.
[ Load more ]