JavaScript
32.1K subscribers
1.05K photos
10 videos
33 files
733 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript πŸš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
RELEASES

TypeScript 5.2 Beta
Just a month after the final release of 5.1, too. using is the headline feature and the release post goes into fantastic detail.

Node.js v20.4.0 (Current)
Node gains an interesting new 'mock timers' feature for writing more reliable and deterministic tests for time-dependent functionality.

Vite 4.4
The frontend toolkit updates to esbuild 0.18, adds experimental Lightning CSS support, and there are new starter templates for Solid and Qwik users.

Deno 1.35 – The alternative JS runtime makes Deno.serve() (its Web server API) stable, and improves npm and Node compatibility.

Bun 0.6.13
πŸ›  CODE & TOOLS


πŸ”©MathLive: A Web Component for Math Input

A web component that provides an interface for editing formulas. It uses LaTeX-style typesetting to keep things looking good. GitHub repo.

ARNO GOURDOL


πŸ”©copy-text-to-clipboard: Copy Text to Clipboard in Modern Browsers

Pretty simple but will save you a little messing around with the browser API.

SINDRE SORHUS
πŸ”₯7❀2
CHALLENGE #67
πŸ‘10πŸ€”6❀3
CHALLENGE #68
What is the output?
Anonymous Quiz
29%
1
10%
0
27%
[1]
34%
undefined
❀14πŸ‘8
When in async, we wait…

Harsha Vardhan
🀣32πŸ‘2πŸ€”2
CHALLENGE #69
❀10
What is the output?
Anonymous Quiz
17%
1
45%
[1]
6%
0
33%
undefined
🀣14πŸ€”6πŸ‘5
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ“Œ First rule of programming...
🀣33πŸ”₯4
CHALLENGE #70
What is the output?
Anonymous Quiz
37%
true
39%
false
23%
Error
πŸ‘16❀1πŸ”₯1
Jump Start Vue.js (2019)

Get up to speed with Vue.js in a weekend! Since its release in 2014, Vue.js has seen a meteoric rise to popularity and is now considered one of the primary front-end frameworks, and not without good reason. ...

NILSON JACQUES
πŸ‘6❀4
CHALLENGE #71
πŸ‘12❀1πŸ”₯1
What is the output?
Anonymous Quiz
29%
10
47%
20
16%
undefined
8%
ReferenceError
πŸ‘12πŸ€”7❀1
I heard you want to be a web developer 😁
🀣42πŸ”₯1πŸ€”1
CHALLENGE #72
πŸ‘10❀3
πŸ—ž Issue 21 / 11.07.2023


πŸ“„ Node v20.4.0 Introduces Mock Timers

The latest release of Node includes a new MockTimers API that can make any tests involving time-dependent functionality more reliable and deterministic by mocking `setTimeout, setInterval, node:timers`, and more.

RAFAEL GONZAGA


πŸ“„ Testing the Dark Scenarios of Your Node App

An interesting look at some examples of easily overlooked but nonetheless important tests to have in your app or package. What happens when a service times out, code is mutating things it shouldn’t, or you have zombie processes milling around? These are some of the β€˜dark scenarios’ you can easily be prepared for.

YONI GOLDBERG AND RAZ LUVATON


πŸ“„ TypeScript and ECMAScript Modules in Node.js

An official docs page focusing on the use of ESM with Node.js in TypeScript projects. We’ve linked to this before, but it’s a handy document that continues to be updated.

MICROSOFT


©️NODE.JS WEEKLY
πŸ”₯8