Javascript
34 articles
Dot vs Bracket Notation in JavaScript Objects: A Complete Guide
In JavaScript, you can use dot notation (.) or bracket notation ([]) to access object properties. They do the same thing… until they don’t. Then …
A Comprehensive Guide to Avoid React Hooks Anti-Patterns
React Hooks changed how we write functional components. They give us a more intuitive way to manage state and side effects. However, this power comes …
Deep Dive into Object Memory Management in JavaScript
In the world of JavaScript development, understanding how objects behave in memory can be the difference between a lightning fast application and one …
Is Currying in JavaScript Just A Chain of Functions?
In the world of functional programming, techniques that enhance code reusability and modularity are highly valued. One such technique that has found …
Javascript Loops: Simplify Choice between for...of and for...in loop
After years of web development, do you still find yourself mixing up for...in and for...of loops in JavaScript? If you’re tired of Googling …
The Pitfalls of Using Async/Await Inside forEach() Loops
When it comes to running asynchronous operations for each element in an array, the instinct is often to turn to .forEach() method; it’s the go-to tool …
What is finally method and finally block in Javascript?
The word finally in Javascript is used in two contexts mainly; finally method with Promises and finally{} block with try-catch. People intermittently …
Avoid JavaScript Template Literals for Building URLs with Query Params
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded …
Best Practices for Production setup of Nodejs Application: Part II
Ensuring performance and reliability are critical aspects when deploying applications in a production environment. Optimizing performance involves …
Best Practices for Production setup of Nodejs Application: Part I
Ensuring performance and reliability are critical aspects when deploying applications in a production environment. Optimizing performance involves …