#229 — ES2021 new features, updated redux tutorial, and more

TENJAVASCRIPT #229

What new in ES2021 (aka ES12)?

🆕 ES2021 includes pretty inteesting updates to the language such as String.prototype.replaceAll, private methods (with ugly # syntax), ||= and &&= operators (they act as you expect), Promise.any (resolves when at least one of the passed promises gets resolved), and more.

#Language

Why we need to abstract dependencies, a real world example with react router

✊ Abstracting away dependencies is a pretty under-used way to minimize coupling with a 3rd party library (by minimizing places in your code where it's used). This article is a great example of such technique.

#Design

Redux Fundamentals, Part 1: Redux Overview

📙 Mark Erikson (that's the guy who maintains Redux after Dan Abramov) introduced a new, completely updated Redux tutorial. Take a look and refresh your knowledge.

#React #Redux

Implementing NodeJS HTTP Graceful Shutdown

🔥 Shutdown gracefully means being able to deploy new code without causing old process to throw errors. That's pretty common behaviour with Node. Here's a long and detailed article on how this can be implemented with your typical Node.js server app.

#Node

JavaScript's Memory Management Explained

🔩 An "under the hood" article exploring and explaining how JavaScript memory works: stack, heap, garbage collector, and memory leaks.

#Performance

Content Security Policy - protect your website from XSS attacks

🔒 Content Security Policy (or simply CSP) is a security mechanism implemented by browsers and servers that allows you to control which resources (scripts, stylesheets, images, etc.) are allowed to be loaded from where. One of the main purposes is, you gussed it, mitigating XSS attacks. In this article, you learn how to implement your own policies.

#Security

Making Sense of the JS Framework Benchmark

⭐ A nice overview of different frameworks comparisons out there, and explanation of how we should read them.

#Frameworks

I built a site to instant-search 32 Million Songs in milliseconds

👏 I don't usually include "I made this" posts but this one is really is really impressive. Millions of songs that can be searched almost instantly (40ms delay). The tech behind it, a service called Typesense (similar to Algolia, but open-source), is definitely worth exploring!

#LearnFromCode

Top problems I got switching to Vue 3

😱 Vue 3 is here, and as many of us switch to the new version, we also face some challenges. The switch is still rather smooth. Here's Evan You talking through his thinking and decisions on Vue 3.

#Vue.js

Setting Up Vim For TypeScript in 2020

😍 And finally, I want to share my own article which was revised and updated recently. It's a quick tutorial on setting up Vim for TypeScript (and JSX/TSX). That's the setup I'm using at the moment, and it's working fantastically great!

#TypeScript #Vim

🐦 Liked the issue? Share it on Twitter!

😠 Unhappy? Unsubscribe.


unsubscribe

Older messages

#228 — Npm 7, a great event loop explanation, and more

Monday, October 19, 2020

TENJAVASCRIPT #228 Sometimes the job interview has nothing to do with the actual job // Vincent Déniel Npm v7 released 🔧 Great news! Npm finally supports workspaces. On my previous project that was for

#227 — Moment.js declared legacy, useful Node packages, and more

Friday, September 18, 2020

TENJAVASCRIPT #227 Couldn't find out who's the original author 😒 Moment.js project status 👋 Moment.js authors officially declare it a legacy project. That's a wise and timely decision.

#226 — Reasons not to use GraphQL, making WAVs, and more

Friday, August 28, 2020

TENJAVASCRIPT #226 "Me writing JavaScript" // by @KassandraSanch Transduction in JavaScript 🔥 The functional approach may sometimes lead performance issues. But there are ways to remedy those

#225 — S

Sunday, August 23, 2020

TENJAVASCRIPT #225 JavaScript ecosystem in a nutshell / @XKCD Microsoft will bid farewell to Internet Explorer 👋 Goodbye, IE! We've all expected it to happen sooner, but it's better late than

#224 — State of Frontend 2020, TypeScript exercises, and more

Friday, August 14, 2020

TENJAVASCRIPT #224 State of Frontend 2020 Report 📈 4500 developers took part in this fresh Frontend survey. Just some highlights. Perhaps, unsurprisingly, React still dominates the frontend minds with

You Might Also Like

The Future of Wallets: Introducing the Ridge Wallet for MagSafe

Thursday, May 2, 2024

Redefine convenience and security with MagSafe-compatible magnet arrays embedded in Ridge products. Upgrade what you carry and get Apple's® newest must-have accessory. Engineered for seamless

Edge 392: Meet RAFT: UC Berkeley's New Method to Improve RAG Patterns in LLMs

Thursday, May 2, 2024

The method brings the best of RAG and supervised fine tuning. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Airbnb Icons 🏠, Microsoft's OpenAI email leaks 🤖, software friction 👨‍💻

Thursday, May 2, 2024

Airbnb's Icons is a new collection of experiences hosted by big names in music, film, television, arts, sports, and more Sign Up |Advertise|View Online TLDR Together With Dollar Flight Club TLDR

📧 Did you want this discount?

Thursday, May 2, 2024

Your chance to save on MMA is about to end. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌