Unleash Your Inner Marvel Enthusiast: Embracing SOLID Principles in JavaScriptJun 18, 2023·3 min read
SVG vs. Canvas – The Ultimate Graphic ShowdownGraphics have come a long way on the web since the good ol' days of GIFs. Advances in technology have paved the way for creating dynamic graphics and animations to give users the best experience possible. However, with so many ways of creating graphi...Jun 25, 2023·4 min read
JS Polyfills - Part 5 Promises (resolve, reject, all, race, then, catch, allSettled, any)Feb 9, 2023·5 min read
JS Polyfills - Part 4 Debounce & Throttle - Leading & Trailing optionsWhat are Debounce and throttle ? They are techniques for optimizing browser performance in JS. Why we use them ? These are for limiting the rate of function execution/API request Where can we use them ? Input/button/window events, Searching/ Typeahea...Nov 2, 2022·5 min read
JS Polyfills - Part 3 (Map, Filter, Reduce)8. Map() Function: map(callback, thisArg) Usage: arr/obj.map(function(element, index, array) { /* … */ }, thisArg) Description: creates a new array populated with the results of callback function on every element in the calling array. Polyfill & ...Oct 26, 2022·2 min read
JS Polyfills - Part 2 (forEach, keys, Values, Entries)4. forEach() Function: forEach(callback, thisArg) Usage: arr.forEach((ele, index, arr)=>{...}, this) Description: callback function will execute on every element. But not for uninitialized elements for sparse arrays. Polyfill: forEach //functio...Oct 22, 2022·2 min read
JS Polyfills - Part 1 (call, apply, bind)Any code we write, we always want it to be best and want it to work on every browser. But sometimes, our code might not work on older engines as they do on modern browsers. That's because the older engines don't understand latest features. So there's...Oct 21, 2022·3 min read