Friday, October 24, 2025
HomeJavaScriptJavaScript Weekly Challenge 722: February 7, 2025

JavaScript Weekly Challenge 722: February 7, 2025


There Are a Lot of Methods to Break Up Lengthy Duties in JavaScript — Resulting from how browsers and the occasion loop work, letting a single process hog the principle thread is a fast technique to freeze up your website’s UI. Alex explains the issue and makes use of a easy instance to stroll by means of the professionals and cons of various options from primary use of setTimeout() to requestAnimationFrame(), channel messaging, and Net Staff.

Alex MacArthur

IN BRIEF:

RELEASES:

📒 Articles & Tutorials

Publish ESM-Based mostly npm Packages with TypeScript — Now that you should utilize the ES modules (virtually) all over the place, it’s value understanding tips on how to package deal them up to be used with npm. Axel digs into the whole lot it’s worthwhile to know and shares some helpful instruments too.

Dr. Axel Rauschmayer

Vite with TypeScript — For those who’ve created a JavaScript-based React mission with Vite and need to get on the TypeScript practice, listed here are the essential steps.

Robin Wieruch

RE2JS 1.0: Linear Time Matching for Common Expressions — RE2 is a daily expression engine constructed by Google designed to function in time proportional to the dimensions of the enter, with a view to keep away from so-called ‘ReDoS’ issues brought on by backtracking, and this brings such safety to the browser too.

Oleksii Vasyliev

  • 🍪 CookieConsent 3.1 – A light-weight, pure JS, GDPR-compliant cookie consent mechanism with which to annoy all of your customers meet regulatory necessities.

  • Completely happy DOM 17.0 – Cross-runtime JS implementation of an online browser sans UI. Now helps ES modules.

  • remove-unused-vars 0.0.4 – An experimental new software for eradicating unused variables from code.

  • get-value 4.0 – Use property paths (a.b.c) get a nested worth from an object.

  • mp4-muxer 5.2 – MP4 multiplexer in pure TypeScript with assist for the WebCodecs API, video and audio.

  • 🗺️ react-map-gl 8.0 – React pleasant API wrapper round MapboxGL JS. (Demo.)

  • 🗓️ Schedule-X 2.17 – Materials Design occasion calendar and date picker.

  • Wasp 0.16Wasp is a Rails-like framework utilizing Node, React & Prisma.

  • web-worker 1.5 – Constant Net Staff in browser and Node.

  • Js_of_ocaml (jsoo) 6.0 – An OCaml to JavaScript compiler.

  • RxDB 16.5 – Offline-first, reactive database for JS apps.

🎵 A fast musical quantity..

A Protracker Module Participant in Pure JavaScript — I’m a sucker for 90s tracker music, JavaScript experiments, and funky Net experiences, and this has all three. For those who’re not accustomed to tracker music, it’s a technique to write music on a grid which triggers the enjoying of samples. This code manages to parse and play a Protracker file in pure JavaScript. (Word: The picture above is of the unique Protracker app, this experiment is extra minimal and concerning the code.)

srtuss

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments