VKVinit Kanseinvinitkanse.com路Jan 7, 2023 路 6 min readWeb Components in Vanilla JavaScript (WebC)What are Web Components? Web Components are simply reusable, custom HTML elements where the functionality is strongly encapsulated from the rest of your code. Isn't this amazing? 馃ぉ That's not even the best part, web components are library-agnostic w...01M
VKVinit Kanseinvinitkanse.com路May 11, 2022 路 2 min readUse Lazy Loading in React like a pro!Introduction Ever wondered how do huge web sites optimize their response time? How they load only what's required and not the whole content? Well my friends look no more, this guide is for you! Lazy Loading is an optimization technique for websites o...00
VKVinit Kanseinvinitkanse.com路Jan 24, 2022 路 4 min readStacking Context - All that you need to knowWhat do you mean by Stacking Context ? A Stacking Context is a 3D visualization of HTML elements along an imaginary axis (z-axis) i.e. facing the user in front of the device. As you can see from the diagram that I had no relation with Pablo Picasso'...00
VKVinit Kanseinvinitkanse.com路Jan 12, 2022 路 2 min readHoisting Debugged!!!Generally, people refer hoisting in JavaScript to the English word hoist which means "lifting". But as it turns out hoisting is not what you think it is. Song By Adnan Sami : Lift karadey Hoisting rather is the process that occurs while JavaScript...00
VKVinit Kanseinvinitkanse.com路Jan 11, 2022 路 3 min readUnderstanding Spread and Rest OperatorSpread Operator So ever gone through the hassle of passing n number of arguments to a function and handling it there, uhh馃く. So much trouble. const add = (a,b,c,d,e) => a + b + c + d + e console.log(add(1,2,3,4,5)) // Output: 15 This might get confu...00