Jul 19, 2021Reduce an Excessive DOM size by using react-window.Reduce an Excessive DOM size by using react-window. Problem Statement At OLX Group in the filters page for the Cars category, we have filters for Brand and Models. The list of filters was so huge that it increased the DOM size to around 6,000 DOM elements and increased page load time from…React2 min readReact2 min read
Jul 10, 2020Script Tag — Defer and AsyncIn this blog, we will brush up the basics of Attributes in the script tag and know about the scenarios in which these attributes are used. <script> As soon as the script tag appears in HTML without any attribute. 1. HTML parsing is paused. 2. The script is fetched from the server. 3. The…Script2 min readScript2 min read
Jun 26, 2020Cookies Vs LocalStorage Vs SessionStorageOne of the popular questions in web development interview is the difference between different types of storage. So I thought to write about it in simple words and in one place. Cookies A cookie is the special type of storage on a web browser which helps to maintain the state of…Java Script3 min readJava Script3 min read
May 16, 2020JS Object: Freeze and SealIn this blog, we will discuss Object.freeze() and Object.seal(), what is the difference between them, and where to use these built-in functions. As we know that examples explain better than writing so I have added code snippets to demonstrate wherever possible. Index Overview of Object.freeze() Overview of Object.seal() Comparison between Object.freeze()…Java Script3 min readJava Script3 min read
Jan 20, 2019Javascript Interview : Objective Type QuestionsQ1. Which of the following statement(s) will give output true? var a = [1, 2, 3]; var b = [1 ,2 ,3]; var c = "1, 2, 3"; Statement 1 : a == c Statement 2 : b == c Statement 3 : a == b OPTIONS Option a. Statement…Java Script2 min readJava Script2 min read
Jun 26, 2018Linked ListA linked list is a dynamic and linear data structure where each element is a separate object. Each element of linked list i.e. Node consist of two parts — 1. Data 2. Reference to next node. Last node of the list has reference to null. The entry point into the…Data Structures7 min readData Structures7 min read
May 22, 2018Difference between Stored Procedures and Functions in SQLA stored procedure is a set of Structured Query Language (SQL) statements with an assigned name, which are stored in a relational database management system as a group, so it can be reused and shared by multiple programs whereas functions are routines that accept parameters, perform an action, such as…Sql1 min readSql1 min read