JavaScript Memoization Made Simple!

preview_player
Показать описание
An explanation of memoization in JavaScript. Memoization is a super useful performance optimization technique that can be used to improve the performance of slow running functions. I explain how to memoize in JavaScript in the clearest and most concise way I can! Created by Gregg Fine.

📖 Download my FREE "Google Search Secrets for Developers" Cheat Sheet:

🗣JOIN the Code Creative Facebook group! :

🌐 The Code Creative Official Website

🎓 The Code Creative Courses

✅ Recommended related videos:

Web Audio API: Exploring Oscillators

Web Audio API: createOscillator and Audio Nodes

Web Audio API: What is Audio Context?

✅ Let's connect:

Twitter - @GreggFine

Instagram - /greggfinedev

Facebook - /hiddentigermusic
Рекомендации по теме
Комментарии
Автор

this video is so underrated !! good job bro cant be explained any better 👏👏👏

_____AjCoder______
Автор

With such explanations I really hope your number of subscribers increases dramatically. This was by far the best explanation I have seen on this topic. Keep doing what you're doing, you have a gift for teaching!

clydecalador
Автор

Please bring more such concepts of js with implementation.

PIYUSH-lzzq
Автор

Such a beautiful explanation, in-depth yet clear. Thanks!

caizza
Автор

Can't get clear than this. Great job Gregg. 🙏

zameeebasha
Автор

Great explanation! I am making some of Underscore library methods from scratch (for a bootcamp) and was stuck on _.once and _.memoize, but that helped me understand not only about caching but also to be able to do the _.once function, which has similar principles. Thanks!

nerogatonevoso
Автор

That was such a great explanation! Thanks 🙏

yusefdaramay
Автор

🗣JOIN the Code Creative Facebook group! :

TheCodeCreative
Автор

Such a brilexplanation for a layman like me in data structure in js. Thank you so much.

mmphvkl
Автор

📖 Download my FREE "Google Search Secrets for Developers" Cheat Sheet:

TheCodeCreative
Автор

I only understood half of this, but damn was it cool

dougm
Автор

subscribed! Thanks for the video. I will def check more of your videos! I still have a question, if we run the memoize function for two times, doesnt the catch get reassign as am empty obj again? Coz the first line of the code to make it an empty obj??Thanks in advance!!!

yuanzhang
Автор

Hi, just wondering if you can make a video to relate this to React memoization and hooks, say useMemo and useCallback. I think that would be highly appreciated by a lot of us😁

jacinyan
Автор

Very clear explanation and example!!! Super helpful!! Thank you so much!!!! I also watched your "debounce" video, also wonderful tutorial!! Btw, Do you think your playlist "Javascript" is for people who are learning Advanced JS? I want to learn Advanced JS since I finished basic tutorial and I wonder if the playlist is for me.

aya
Автор

Great explanation. In React there is a React. memo hook. Does this concept work behind the scene there?

vikramsinghrajpurohit
Автор

Very well explained.
Thank you.

I have one question, if we are passing only one argument to the function why are using ...arg?

subhashgn
Автор

Hey, where is up with your font? the === and <= look interesting..

ninjarogue
Автор

if ...args is an array then how can we say cache[args] ?
Shouldn't we iterate over each one?

ManontheBroadcast
Автор

Please make a video about browser devtools

Troy-olfk
Автор

I am a noob in JS. Can someone please explain the syntax of function that is getting returned from memoize. How do we have access to ...args and how does args get value from outside, why can't I console.log ...args as first line inside the memoize function. I really can't get my head around the return function syntax

tanzeemahmed