#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

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power