DEV Community

Discussion on: Memoizing async functions in Javascript

Collapse
anishkumar profile image
Anish Kumar Author • Edited

I guess you're re-iterating the "Memoizing the underlying promise" section. Yes, for promises memoizing the actual value itself is bit of an overkill, but this approach goes beyond just promises, as explained in the article.
Also re-ordered the sections to convey the idea a bit better.

Collapse
johandalabacka profile image
Johan Dahl

Thanks, the new order was much clearer and the last example was really interesting and enlightning. Promises are really a powerful tool then you can wrap your head arounds them.