JavaScript
32K subscribers
1.04K photos
10 videos
33 files
721 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
What is the output?
Anonymous Quiz
65%
true
19%
false
16%
Error
🤔10🤣8
Fullstack React: The Complete Guide to ReactJS and Friends

Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...

Anthony Accomazzo, Nate Murray, Ari Lerner
11👍4
🤣252
CHALLENGE #27
🤔164👍1
You Don’t Know Node.js EventLoop

You might be wondering if the title of this article is a bit ambitious, but fear not! I’ve put in the time and effort to cover everything you need to know about the EventLoop in Node.js. And believe me, you’ll discover so many new things along the way!

NAIRIHAR
🔥83
🤣24👍4
CHALLENGE #28
What is the output?
Anonymous Quiz
27%
5, undefined
12%
1, 2
46%
5, 2
15%
Error
🔥92
🗞 Issue 9 / 30.05.2023


🎬 I Tried 8 Different Postgres ORMs

A modern, fast-paced, and slightly irreverent meme-heavy look at the various ways in which you can interact with Postgres (provided serverless by Neon, in this case) from a backend JavaScript app. It’s pretty neat as whirlwind tours go. (9 minutes.)

BEYOND FIRESHIP


📄 Advanced Fastify: Hooks, Middleware, and Decorators

Fastify is an increasingly common alternative to Express (more on why here). Damilola looks at some higher level Fastify concepts here, as well as how you might incrementally migrate from Express to Fastify.

DAMILOLA OLATUNJI


©️NODE.JS WEEKLY
3🔥3👍1
ARTICLES & TUTORIALS

📄 Deploying Vanilla Node.js Apps on Fly.io

Actually titled “Vanilla with Candy Sprinkles”, this post covers the basics of using Fly’s next-gen hosting platform to quickly deploy Node apps (we have no affiliation with Fly but use it for some internal apps – it’s pretty good).

SAM RUBY (FLY)


🎬 Building a RESTful API with Fastify, MongoDB and Mongoose

A substantial first part of a promised series of videos, along with the code.

KEVIN CUNNINGHAM
👍3🔥3
CODE & TOOLS

🔩BBebop 2.7: Fast, Typesafe Binary Serialization

Schema-based, typesafe, binary serialization and code generation that supports numerous languages, including TypeScript. Has a built in REPL for playing with the code generation which has had some big improvements in this release. (Its homepage has a neat bit of ASCII art.)

BETWIXT LABS


🔩Got 13: A Powerful HTTP Request Library for Node

A popular HTTP request library. v13 requires Node 16 and makes Unix socket support off by default.

SINDRE SORHUS


🔩 node-oracledb 6.0: A Pure JS Oracle Database Driver

A major release for the Oracle Database driver which can now be used in ‘thin’ and ‘thick’ modes providing either the essentials or the full fat Coke version (which requires some extra Oracle client libraries to be installed).

SHARAD CHANDRAN


🔩 Migrate 2.0: An Abstract Migrations Framework

Provides a simple mechanism around working with migrations without enforcing any particular database or system.

TJ HOLOWAYCHUK


🔩 axios-token-manager: Manage the Caching of Axios Tokens

For managing the caching of auth tokens for specified validity periods as well as refreshing or recovering them transparently (such as when the backend has revoked a token before its period has expired.)

MICKEY PURI


🔩 CSV Parse: Convert CSV Text into Arrays / Objects

Extends the native Node.js transform stream API so you can get up and running quickly – see some example code. Part of a suite of CSV libraries that can also generate and transform CSV more generally.

ADALTAS
👍6
🤣22👍3
CHALLENGE #29
What is the output?
Anonymous Quiz
29%
Error
15%
1
18%
2
38%
1, 2
7🤔6
🤣20👍6👎1
CHALLENGE #30
5🤔5
What is the output?
Anonymous Quiz
48%
1, 2
27%
2, 2
13%
1, 1
12%
2, undefined
👍4🤔32
🤣16
🗞 Issue 10 / 02.06.2023


📄Aimless.js: The 'Missing' JavaScript Randomness Library

If you’ve been itching for functions to give you random characters, numbers from custom distributions, random sequences, random items, weighted random numbers, or more, this is for you.

CHRISTOPHER CAVALEA


📄 JavaScript Macros in Bun

Not content with giving the JavaScript world a brand new bundler, Bun’s Jarred has taken it a bit further: 'macros' that run at bundle time with the result being directly inlined into your code. They use stage 3 annotated import statements (so may become regular JS eventually) and Jarred shows off some use cases here.

JARRED SUMNER


🎬 Discussing the Future of React with 2 Core Team Members

As part of the celebrations around React’s 10th b-day, Vercel’s Delba de Oliveira interviewed Andrew Clark and Sebastian Markbåge of the React core team on modern topics including server components, Suspense, Actions, and the next steps React will take.

DELBA DE OLIVEIRA (VERCEL)


©️JS WEEKLY
🔥4👍2