NodeJS 22 Just Dropped, Here's Why I'm Hyped

preview_player
Показать описание
NodeJS 22 is the latest LTS and it's now GA! I'm hyped. There's a lot of cool stuff in this release. You should be hyped too.

SOURCES

S/O Ph4se0n3 for the awesome edit 🙏
Рекомендации по теме
Комментарии
Автор

As an author of several NPM packages, I cannot stress enough how great the require(esm) feature is, and it is LONG overdue. Up until now we had to keep building a CommonJS version of every package, which adds a lot of complexity because now we need a build system, even for simple packages. I can tell you from experience that ESM & CommonJS interoperability is a minefield, so having this handled by Node.js in a consistent manner is wonderful.

Finally we can have a proper migration path off CommonJS and look forward to an ESM-only future, where we're not shipping the extra legacy baggage to future devs. I hope this will get backported to Node.js 18 & 20 as well, so that we don't have another 2 years of module-based horror.

jonkoops
Автор

Glad to see Bun's success is making NodeJS mantainers rush for better stuff. It was a win win.

Noritoshi-rm
Автор

I can't help every video I watch from him looks for me like a salesman promotion video

Fiercesoulking
Автор

4:11 The JIT's getting JITtier every day. 🤔

RulerOfCakes
Автор

This video doesn't have a single appreciation to anyone on the Node.js team who has been working hard (paid or unpaid!!) to get this release out. Instead you hear things like (quote): "[Watch Mode] is a really nice change and again like this is one of those things Bun did well" or "[So] yeah how nice is that this this should have been node forever ago like this has been in bun from day one". Bun and Node.js are two completely different projects, this should not be a direct comparison framed like this. I wish YouTube Tech influencer but be more aware of differences between VC funded open source projects and those ones run on open governance. We should appreciate the people that do all this for free and allow you make content of it and "enrich" yourself from their hard and often free labor.

I acknowledge making this video brings tremendous value to the community and you've done a great job walking through all changes this release brings. I hope I can leave this settle critique here though. Thank you!

christian-bromann
Автор

I wonder if Node will ever get a built-in TypeScript support.

tinrab
Автор

When do we stop using one function packages? the more dependencies a project requires the more space it needs and the higher the risk is for malicious packages to be included.

tonysolar
Автор

A video on modules? Really confused about ESM, CJS, AMD, etc...

kaustav
Автор

I’ve never heard someone pronounce it no demon, always node mon (short for monitor), but I like no demon way better lmao

cooltrashgamer
Автор

Okay, I've never seen that node -p command. Super useful, especial in package.json scripts! Thanks!

dzisonline
Автор

I'll admit to being hyped. Set operations? Yes please. A lot of that other stuff looks interesting as well.

I'll definitely be trying 22 soon. We don't use node much in production at this time, but that changes later this year, so developing in 22 is practical. I'll hold off on the stuff behind experimental flags, however.

erics
Автор

Even without node 22 Theo wouldv'e still been hyped

mfanakagama
Автор

seems like bun is a very positive influence on node

heMech
Автор

I never thought of it being no-demon. Ive always said node-mon.

itsthesteve
Автор

So glad we're getting a built-in node watcher.

demiurge_n_dragons
Автор

To the Editor: good job 👍 on cutting the vid, figuring out the jumping around in the original recording must have been a headache 😅

jmatya
Автор

Nice, these features look dope!
FTW built in glob and watch 💯

burningtree
Автор

Happy for a lot of these features. Glob is good, but I already found a minor workaround using RegExp and iterating over reddit (Edit: readdir was auto-corrected). It'll be a nice performance bump to have the native implementation, but I'm more excited about the watcher and the engine updates. I work in CLI land (proprietary automated testing library for my employer) so improvements there are great. That, and the require(ESM) change will make my life so much easier for providing support, since up to now I've been manually authoring type declarations, CJS and ESM files. Realistically, it wasn't the worst thing (ESM just imports the CJS module and re-exports the members), but it was tedious.

The last little bit I'll say is, as a library author, I'm always forced to work on an older release until it becomes deprecated, so I won't see any of these improvements for another 2 years sadly. C'est la vie

penguindrummaster
Автор

12:30 Guillermo isn't the creator of NextJS

stokbrood
Автор

Thanks for the forecast! I have a quick question: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?

MegganCurrell
visit shbcf.ru