8 NEW JavaScript 2024 Features

preview_player
Показать описание
JavaScript is constantly evolving with new features being added yearly. In this video I am going through 8 new features that are being added to JavaScript in 2024 or will hopefully be added in 2024. Some of these features are real game changers.

📚 Materials/References:

🌎 Find Me Here:

⏱️ Timestamps:

00:00 - Introduction
00:33 - Array Copy Methods & groupBy
05:07 - Temporal API
06:05 - JSON Modules & Import Attributes
07:51 - Decorators
09:10 - New Set Methods

#ES2024 #WDS #JavaScript
Рекомендации по теме
Комментарии
Автор

Looking forward to using these in 10 years.

trappedcat
Автор

A good use for a promise resolver can be writing clean-ups in use-effect return for unresolved promises. Otherwise a pending promise can cause some memory leaks.

However the fetch request already has support for an abort signal. But this is more economics and covers more cases.

laxmandeadpool
Автор

Safari, as per usual, being the Internet Explorer of the 2020s.

Also I don't like decorators or annotation being a standard js features. They produce really unpredictable and hard to debug code.

floppa
Автор

It really baffles me that Set operations were not implemented on the Set class from the start.

MaksymCzech
Автор

This was a good video. Decorators looks interesting and I am pumped for Temporal

lilrex
Автор

The set methods will be very useful for my use case - Archetypes in an ECS

whosgrshh
Автор

We take comfort knowing we have you to keep us up to date with all the new features for which we're all so grateful. Thankyou much.

colindante
Автор

I’m a retired test engineer, hobbyist embedded programmer. I started to learn JavaScript in early 2020. I have created a browser based User Interface for my projects using inexpensive tablets, cellphones etc. with just enough HTML to get a load connection and web-socket established. Personally I find JavaScript is a language that keeps stepping on itself with feature bloat, work arounds, maturing subtleties etc.etc. Unfortunately Not a language I am going to master. I do enjoy your short and to the point tutorials. Thanks for sharing!

carltone
Автор

These features are brilliant, you did an excellent job highlighting them all!

DeltaXML_Ltd
Автор

As a .NET developer I don't understand why they keep adding immutable array functions that create copies of the array, when you already have generators and functions. This allows creating LINQ like functions that only use what they need. Stuff like arr.map(a=>func(a)).slice(0, 4) creates a new copy of arr only to take 4 elements. I feel like, by focusing on fashionable frameworks like React, JavaScript is pushing away the high performance features of the language.

Siderite
Автор

I think decorators don't belong in core JS. It makes more sense for them to remain as a transpiler function as if you're using them, you're probably using other features that need transpilation/polyfills anyways.

I love the idea of being able to use promises without having to pass in callbacks for resolve/reject. That'll make using promises a lot nicer.

Dylan_thebrand_slayer_Mulveiny
Автор

Hey mate, absolutely love your channel. Could you do a video about tackling a frontend system design interview question?

shneiball
Автор

I'm glad that Set methods are being added.. A while ago I tried using a set for a problem I had and found it very bizarre that the object didnt have those methods implemented lol

Kevroa
Автор

It's nice to mention Map.groupBy along with Object.groupBy. Works similarly but returns Map.

wdnick
Автор

Its the most helpful for frameworks that require reactivity. push() and forEach() I rarely use now in sveltekit. Instead using the ...spread operator or map(). Doing the same thing in a different way shows that javascript is evolving with the web.

DamonMedekMusic
Автор

Suggesting to use quokka extension, it will show output on the fly as you type

muthukumar
Автор

9:56 woah! How were set functions not introduced when Set was added??

brnto
Автор

Hey Kyle could you make a video on template engines for backend? Such as express-handlebars🤙🏽 nice video!

Blackthorne
Автор

I just love the way u explain everything. My fav developer

sakshigoyal
Автор

Hi Kyle, By watching your videos I learned CSS and Javascript. Thanks for your contents. Everything is easily understandable.
I'm having a question for you.
Is there any possibilities for you creating Angular tutorial...?

sathyamv