Arrow functions vs Normal functionsIn JavaScript, both arrow functions and normal functions can access variables from their enclosing scope due to lexical scoping. However, there is a notable difference in how this is treated by these two types of functions, which can affect how you m...May 21, 2024·2 min read
React Virtual DOMIn React, whenever we tell React to make a change to the UI via setState or some other mechanism, the virtual DOM is updated first, and then the real DOM is updated to match the changes in the virtual DOM. This process is called “reconciliation”. Whe...Jan 25, 2024·1 min read
Using Socket IO Loading data from MongoDB and Express jsAs we are now able to send static data to our client with Socket.IO, we have all the tools we need to send dynamic data as well. MongoDB is a NoSQL database that stores data as JSON documents. In this recipe, we will send data from our database to th...Jan 23, 2024·3 min read
Top 40 Javascript questionsHere are top 40 Javascript questions that are frequently asked in Frontend interviews - 𝗕𝗮𝘀𝗶𝗰𝘀 𝗼𝗳 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 What is JavaScript? Explain the difference between let, const, and var. A. In JavaScript, let, const, and var are used ...Jan 8, 2024·14 min read
Node JS StreamsCoding with Streams Streams are one of the most important components and patterns of Node.js. There is a motto in the community that goes, "stream all the things!", and this alone should be enough to describe the role of streams in Node.js. Dominic T...Jan 2, 2024·86 min read
Callback and EventIn synchronous programming, we conceptualize code as a series of consecutive computing steps that solve a specific problem. Every operation is blocking, which means that only when an operation is completed, it is possible to execute the next one. Thi...Dec 28, 2023·21 min read
Async functionAn async function is a function declared with the async keyword, and the await keyword is permitted within it. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly ...Mar 21, 2022·1 min read