SKSourabh Kheraliyainsourabhkheraliya.hashnode.dev·May 13, 2022 · 7 min readEvent Delegation in JSIntroduction Event delegation is a technique for handling events in javascript. In this technique instead of applying event listeners to the individual target elements, listeners are attached to their common parent element. We don't always use this t...00
SKSourabh Kheraliyainsourabhkheraliya.hashnode.dev·Aug 7, 2021 · 4 min readCode splitting in your vanillaJS appES6 introduced a way to easily share code among multiple javascript files. This involves - Exporting parts of a javascript file for use in other one or more javascript files. Importing the parts you need in your javascript file from other javascript...00
SKSourabh Kheraliyainsourabhkheraliya.hashnode.dev·Aug 2, 2021 · 7 min readUnderstanding how map, filter and reduce worksIntroduction In development, we daily face situations in which we have to make calculations based on the content of an array or object in javascript. Well, the traditional way of accessing and mutating values is good at the start of your web developm...00