Loading video...
Video Failed to Load
JavaScript Maps (new Map()) are more performant, ergonomic, and overall useful than you might think. You may want to consider using them more often than you likely are. Full video is now out!
203,263 views • 3 years ago •via X (Twitter)
10 Comments

You know the drill - more good stuff you can do with Maps and Sets in my full blog post:

It's a good recommendation, but you don't need to use: p) You can use: Object.hasOwn(o, p)

This kind of tips are really useful, it's a shame that people waste time with TS and React that have extremely bad performance compared to JS, for no benefit other than the lies they sell on propaganda to profit over naive devs.

Please check this

Look at the benchmark links in the blog post, there are multiple. You are reusing keys and not generating unique keys

Sweet man an incredible guide about Sets and Map 🙌🏻👌🏻

Your explanations are so good, thank you.

great content man! appreciate it

Shamefully never used Maps or Sets 🤷🏽♂️

When would we use objects ideally then?
Related Videos
Sensitive content
Locked out of my own dick? Again?? More likely than you think.
Rhea, Lady Adm*nistrix
52,945 views • 1 year ago


