Quick React win: move static object/array props outside the component or wrap with useMemo(). Inline literals create a new reference on every render — silently breaking React.memo() and useCallback(). Three lines of refactor, real perf difference in large trees.

#React #JavaScript #webdev #frontend #buildinpublic

#JavaScript library used to make asynchronous HTTP requests from browsers and #Nodejs environments

#cyber #axios #javascript #SUCKS !!!!
STOP USING #JAVASCRIPT !!!!
https://thehackernews.com/2026/03/axios-supply-chain-attack-pushes-cross.html

Axios Supply Chain Attack Pushes Cross-Platform RAT via Compromised npm Account

Axios 1.14.1 and 0.30.4 injected malicious [email protected] after npm compromise on March 31, 2026, deploying cross-platform RAT malware.

The Hacker News

Анатомия чистильщика ссылок: как не сломать веб в Manifest V3

Каждый день мы делимся ссылками в мессенджерах, копируем их из браузера или кликаем по ним. И почти всегда к реальному адресу прилипает хвост из UTM-меток, fbclid , gclid и прочего мусора, которым маркетологи и платформы помечают наш трафик. Создать расширение, которое отрезает этот хвост с помощью регулярного выражения — задача на 10 минут. Но сделать так, чтобы это расширение не сломало работу сайтов, не убило поисковики и не вызвало бесконечные циклы переадресации в современных реалиях Manifest V3 — уже интереснее. Недавно я завершил работу над расширением ZeroTail и хочу поделиться несколькими неочевидными подводными камнями, с которыми столкнулся при реализации авто-очистки URL.

https://habr.com/ru/articles/1019334/

#javascript #расширения #manifest v3 #utmметки #service_worker #chrome_extension

Je remet le lien vers cet article :

« Logical assignment operators in JavaScript: small syntax, big wins »

https://allthingssmitty.com/2025/07/28/logical-assignment-operators-in-javascript-small-syntax-big-wins/

Utilisation des opérateurs logiques plutôt maline, que j'ai trouvée un peu « too much » au début mais qui finalement fait son bonhomme de chemin dans la tête.

Je m'en sers de plus en plus souvent.

#javascript #code

Logical assignment operators in JavaScript: small syntax, big wins - Matt Smith

Logical assignment operators streamline conditional assignments in JavaScript, making your code cleaner, safer, and easier to read.

JavaScript for Everyone: Destructuring | CSS-Tricks

Mat Marquis and Andy Bell have released JavaScript for Everyone, an online course offered exclusively at Piccalilli. This post is an excerpt from the course taken specifically from a chapter all about JavaScript destructuring.

CSS-Tricks
🔬🧪 Ah, the groundbreaking #discovery of how cells throw a temper tantrum! But wait, before you get to the part where science saves the world, you need to enable cookies, because apparently, even cellular biology requires a sweet tooth and a #JavaScript diploma these days. 🍪📜
https://news.stanford.edu/stories/2026/03/immune-response-inside-cells-inflammation-research #cellbiology #sciencecookies #tempertantrum #HackerNews #ngated
Scientists capture how cells trigger inflammation

SLAC scientists observed an immune signaling complex forming inside cells for the first time, revealing insights that could guide new treatments.

I also enjoyed the technical part of creating this. With LLM help, calced got a python implementation with a nice CLI interface and JS version with a proper web UI. Both of them
- read the same syntax
- have no dependencies
- are contained in a single file (just download and run)

See this blog post for some thoughts on the process:
https://www.karl.berlin/simplicity-by-llm.html

#blog #python #javascript #llm #simplicity

Can We Make Simpler Software With LLMs?

You don't need an audio file to create a metronome click!

Built this entirely with Web Audio API oscillators.

5 lines of code, exponential envelope, zero file overhead.

Here's how:

#WebAudio #JavaScript

How to Use Defaults in Destructuring

const { a = 0 } = obj. Fallback when missing.

#javascript #destructure #default #howto

https://www.youtube.com/watch?v=ECk25iE0l8k

How to Use Defaults in Destructuring #javascript

YouTube
Ah yes, the epitome of cutting-edge tech journalism: an article profoundly unpacking the mysteries of web browsing 🕵️‍♂️, where the ultimate plot twist is... *drumroll*... turning on #JavaScript and #cookies 🍪. Riveting stuff, folks!
https://magazine.sebastianraschka.com/p/components-of-a-coding-agent #cuttingEdgeJournalism #webBrowsing #techNews #rivetingStory #HackerNews #ngated
Components of A Coding Agent

How coding agents use tools, memory, and repo context to make LLMs work better in practice

Ahead of AI
×