Tag: javascript news

Ways to remove event listeners

February 3, 2023 By Mark Otto Off

You’ve Got Options for Removing Event Listeners — Unnecessary event listeners can cause all sorts of odd problems so it’s good to clean them up when you don’t need them anymore. How? There are several approaches and Alex looks at their pros and cons. (once is…

Astro 2.0 and TypeScript 5.0 beta

January 27, 2023 By Mark Otto Off

Astro 2.0: The Next-Gen ‘Islands’-Oriented Web Framework — 2.0 includes hybrid rendering (mixing of SSR and SSG outputs), type safety for Markdown & MDX, and an upgrade to Vite 4.0. Astro is worth exploring when performance is key as it works with popular frameworks but…

Why document.write() is bad

January 20, 2023 By Mark Otto Off

Why Not document.write()? — Many moons ago, document.write was a mainstay of client-side JavaScript code, but it’s long been considered a bad practice – why? Harry digs in, noting that it “guarantees both a blocking fetch and a blocking execution, which holds up the parser…

Java-Script Jarre

January 13, 2023 By Mark Otto Off

The State of JS 2022 — The State of JS is one of the JavaScript ecosystem’s most popular surveys and this time 39,471 folks took part giving us a snapshot of the tools, technologies, and language features people are using (or not using!) There’s a…

Looking at both 2022 and 2023

January 6, 2023 By Mark Otto Off

We’re back for 2023 😀 As is our tradition, we’re taking a quick look back at the past year – this time led by a few choice retrospectives, then followed by the most popular articles and tools included in JavaScript Weekly in 2022. There’s sure…

A new jQuery release for Xmas

December 16, 2022 By Mark Otto Off

🎄 This is the final issue of the year – we’ll be back on January 6, 2023. We hope you have a fantastic holiday season, whether or not you are celebrating, and we’ll see you for a look back at 2022 in the first week…

Vite 4.0 released

December 9, 2022 By Mark Otto Off

Vite 4.0 Released — From the same creator as Vue.js, Vite is an exciting piece of frontend tooling offering lots of goodies out of the box: fast hot module replacement, instant server starts, optimized builds with Rollup, TypeScript and JSX support (more on why to…

Splitting up sentences with Intl.Segmenter

December 2, 2022 By Mark Otto Off

Speeding Up the JS Ecosystem, One Library at a Time — JavaScript projects are often so reliant upon dependencies that there are many opportunities to speed up swathes of the ecosystem by fixing small performance issues. Here, one of Preact’s developers shares how he’s been…

JavaScript Vocoder Puccini

November 25, 2022 By Mark Otto Off

The State of JavaScript 2022 Survey is Open — JavaScript’s most popular annual survey is open once again. The results (2021’s, for example) are always fascinating to see, so go share your knowledge so we can see where JavaScript is headed. There’s a ‘guest’ mode…

Nuxt 3.0, TypeScript 4.9, Angular 15..

November 18, 2022 By Mark Otto Off

What’s So Great About Functional Programming? — If anyone has excitedly insisted you check out Elm, PureScript, Haskell or F#, they may have caught Functionitis™ and want you to catch it too. James, author of the forthcoming Skeptic’s Guide to Functional Programming with JavaScript, sells…