Optimize like a pro: Memoization in Javascript

Memoization is a caching technique that consists in saving the result of an expensive function and returning it if the same inputs are provided again. In short, it’s like having a “no smoking” sign inside a restaurant instead of going to each customer and asking them not to light their cigarettes.

Install a Javascript module without npm

Npm is an excellent package manager for JavaScript and for sure it’s the first choice when it comes to managing packages and dependencies, but sometimes we just need to install a library from GitHub.

Subscribe to the monthly digest!

I'll use your email only to send you the latest posts once a month.