Performance optimization in reactThe most discussed performance technique is to avoid reconciliation and I have discussed throughly in this blogRead more...
How to build and publish an chrome extensionHave you ever consider building a Chrome extension? Chrome extensions are great ways to enhances the browsing experience. They are built with existing web technologies like Javascript, html and cssRead more...
Convert an array to an objectGenerally, when we need to convert an array to object, we can use reduce method. I used an example to explain in this article.Read more...
5 ways to delete an element from arrayThere is a situation when we need to delete elements from array based on conditions or given index of array. This article covers 5 days to do that and which on I prefer.Read more...
Slice vs SpliceThere is often a confusion between slice and splice JavaScript array methods. It is a commonly asked question in Javascript interview for freshers.Read more...
Copying in JavaScriptThere is concept of shallow copy and deep copy in JavaScript. Through this article I tried to explain the concept and some userful resources.Read more...
Destructuring in ES6destructuring is the feature announced in the 6th Edition of the ECMAScript standard [ES6]. The destructuring assignment syntax allows you to assign values of arrays or properties from objects to variablesRead more...
Template Literals in ES6ES6 introduced a new way of declaring strings [string literal syntax] called Template literals. This new syntax offers better features than just using ordinary strings with quote marksRead more...
How to add multiple classes to react componentSometimes in our react components, we need to add multiple classes based on some conditions.Read more...
The defaultProps property in ReactThere is a property called defaultProps in react that we can define on a class or a functional component which is used to set default prop values for the component.Read more...