Web 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...1MJan 7, 2023 路 6 min readvinitkanse.com
Use 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...May 11, 2022 路 2 min readvinitkanse.com
Stacking 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'...Jan 24, 2022 路 4 min readvinitkanse.com
Understanding 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...Jan 11, 2022 路 3 min readvinitkanse.com