Blog

Shivaraj's Blog

Hey there! I'm Shivaraj Bakale, and this is where I jot down my thoughts on coding. I mostly write about React, JavaScript, and frontend stuff, but sometimes I dive into the backend too. If you're into coding or just curious about what I'm up to, feel free to browse around. Thanks for stopping by!

Tech Articles
React & Frontend
JavaScript
📚

All Articles

5 posts
Comprehensive Guide: Implementing Polyfills for Array.map(), Array.filter(), and Array.reduce() Methods
Javascript

Comprehensive Guide: Implementing Polyfills for Array.map(), Array.filter(), and Array.reduce() Methods

Polyfills are used to add functionality to older browsers that do not natively support certain JavaScript methods. In this blog, we provide polyfills for three array methods: `Array.map`, `Array.filter`, and `Array.reduce`. Let's go through each of them and see how they work.

07 Oct 23 5 min
Read more
Module Mania: Understanding the difference between CJS, AMD, UMD and ESM
React

Module Mania: Understanding the difference between CJS, AMD, UMD and ESM

In this article we're going to talk about Module Systems. Module systems are important in modern web development because they help us organize our code and avoid naming conflicts. There are four common module systems: CommonJS (CJS), Asynchronous Module Definition (AMD), Universal Module Definition (UMD), and ECMAScript Modules (ESM). In this article, we'll discuss each of these module systems and their differences.

19 Sep 23 5 min
Read more
How to Use Mock Service Worker for API Testing 🚀
React

How to Use Mock Service Worker for API Testing 🚀

When it comes to testing APIs, one of the key challenges is ensuring that your application behaves correctly under all conditions. Simulating different scenarios, such as server errors or slow response times, can be difficult. That's where Mock Service Worker (MSW) comes in. MSW is a powerful tool that allows you to mock HTTP requests and responses in your tests, making it easy to test your application's behavior under different circumstances. In this article, I'll show you how to use MSW to test your APIs, step by step.

03 Sep 23 8 min
Read more
How to Setup Commitizen and commitlint with React project
React

How to Setup Commitizen and commitlint with React project

In this article, we'll see how we can add commitizen to our react project. As developers, most of the time we're expected to work in teams. And having a few best practices and standards within the teams always helps avoid unnecessary inconsistencies. We'll be looking into one such area today, and we're going to focus on Commit messages.

13 Nov 21 6 min
Read more
How to Implement Dark Mode in your application in 3 easy steps
React

How to Implement Dark Mode in your application in 3 easy steps

In this article, we're going to see how we can implement dark mode in our website. Before we get into the meat and potatoes of the article, lets try and understand why we might want to implement Dark Mode.

13 Nov 21 6 min
Read more