JavaScript
React
Best Practices
Popular
Post image

Arrow Functions Shortening Recipes in JavaScript

How to shorten arrow functions in JavaScript to increase the readability of your code.
Continue reading ➞
Post image

How to Become a Better Software Developer by Digging & Climbing

Read my story of how to become a better software developer by digging low level details and climbing good system design principles.
Continue reading ➞
Post image

Use React.memo() wisely

Updated April 25, 2021
React.memo() increases the performance of functional components by preventing useless renderings. But such performance tweaks must be applied wisely.
Continue reading ➞
Post image

5 JavaScript Bad Coding Habits to Unlearn Right Now

Overuse of implicit type conversion, old JavaScript tricks, polluting function scope, undefined & null, casual coding style ruin JavaScript code quality
Continue reading ➞
Post image

How to Use forEach() to Iterate an Array in JavaScript

forEach() in JavaScript calls the provided function on each array item with 3 arguments: item, index, the array itself. Learn how to use forEach().
Continue reading ➞
Post image

An Easy Guide to Object Rest/Spread Properties in JavaScript

Object spread allows easily to clone, merge, extend objects. While object rest collects rest of properties after destructuring.
Continue reading ➞
Post image

7 Architectural Attributes of a Reliable React Component

A detailed explanation of how to architecture React components based on single responsibility principle, encapsulation and composition.
Continue reading ➞
Post image

7 Tips to Handle undefined in JavaScript

A detailed article about 'undefined' keyword in JavaScript. 7 tips on how to handle correctly 'undefined' and increase code durability.
Continue reading ➞
Post image

Announcing Voca: The Ultimate JavaScript String Library

The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugifly, latinise, sprintf, truncate, escape and more.
Continue reading ➞
Post image

Make Your Swift Code Expressive: Addition Operator Use Cases

Posted November 16, 2016
Check + and += operators use cases for writing short and concise expressions: sum numbers & measurements, concat strings & arrays, date manipulations.
Continue reading ➞