Javascript

Alternatives to ChatGPT

How to Avoid Object Mutation in JavaScript

Resolving 'Module not found' Error: Handling 'core-js/es6' in Your JavaScript Project

Best Practices for Extending Error in JavaScript: Enhancing Error Handling

Demystifying 'Error: spawn ENOENT' in Node.js

Downloading Excel Files from the Backend to the Frontend

Learn how to enable users to download Excel files from your backend to frontend, enhancing data exchange in web applications.

Managing Multi-File Upload Progress with React and Redux

Learn how to track and display the progress of multi-file uploads in React using Redux. Create an efficient user-friendly upload experience.

Detecting Clicks Outside a React Component

Learn how to detect clicks outside a React component for improved user interactions. Explore event listeners and React Portals.

Solving the "Unexpected token '?'" Error in Next.js: A Node.js Version Update

Encounter the Unexpected token '?' error in Next.js? Learn how to resolve it by updating your Node.js version using nvm (Node Version Manager). Follow a step-by-step guide to ensure a smooth fix

Using Fastify with Next.js for Enhanced Web Performance

Explore the powerful combination of Fastify and Next.js for blazing-fast web applications. Learn how to set up Fastify routes with Next.js pages to deliver exceptional performance to your users.

Optimizing Asset Management in Next.js

Discover the power of the public folder in Next.js for streamlined asset management. Learn how to organize static assets and access them efficiently, whether on the client or server side.

Effortless State Management with Redux Toolkit and TypeScript

Custom Header Naming Convention in HTTP: Best Practices and Conventions

How to retry 5xx requests using axios

HTML Native Dialog Element: Interactive Web Experiences

Discover the HTML native dialog element for creating interactive dialog boxes in web applications. Enhance user experiences effortlessly.

Upgrade All Packages in package.json with NCU

Upgrade minor & patch versions in package.json using NCU. Keep your project up-to-date while minimizing risks. Improve stability & security.

Plotting GeoJSON Data with D3.js

Downloading an S3 File with Progress Tracking using AWS SDK for JavaScript

Best Coding Practices for TypeScript Developers

How to download the data from URL using Javascript

In some cases, we need to download the data from the URL using Javascript. In this article, I will show you how to download the data from URL using Javascript.

Comparing two array in javascript

Comparing two array in javascript

Polyfill node core modules in Webpack 5

Webpack remove node core modules from bundle by default. This post will show you how to polyfill node core modules in Webpack 5.

Retrying rest request with fetch

Explore how to retry with fetch javascript api. This is a simple example of how to retry a rest request with fetch.

Top Vs code extension for javascript developer in 2022

Top Vs code extension for javascript developer in 2022

Testing react-select component using React Testing Library

Various ways to test react-select component using React Testing Library

Mocking network request using sinon fake server

Mocking network request using sinon fake server

Add upload progress to axios request

Progress information can be obtained from the upload event of the XMLHttpRequest object. The upload event is triggered when the upload process starts. The progress event is triggered when the upload process is in progress. The load event is triggered when the upload process is completed.

Javascript tooltips libraries in 2022: 10 popular choices

JavaScript Drag and Drop Libraries: 4 Popular Choices

Here are 4 popular JavaScript drag and drop libraries that you can use to add drag and drop functionality to your web applications.

Functional programming libraries that expand JavaScript's capabilities

Browser detection using Javascript

Browser detection using Javascript

Using Gulp to minify CSS, JS and HTML Jekyll

Write a Gulp task to minify CSS, JS and HTML and use it in your jekyll project.

How to handle invalid JSON parse error properly.

Learn how to handle invalid JSON parse error properly.

Generating recurring dates array using rrule in JavaScript

Rrule package is the Javascript package to generate array of dates for recurring event, special when you are implemen...

How to serialize a Map in Javascript?

Javascript provide  the map function to iterate through array of items or objects. We can return new item from the ca...

Increasing Precision of Javascript Timeout & SetInterval

Problem Timeout functions are not accurate. They are not guaranteed to fire at the exact time you set them to. This i...

Different Ways To Create Object In Javascript

Explore different ways to create object in JavaScript.

Making system alert sound via Electron app

Electron export shell modules which help developers to interact with a desktop environment. Shell functions are avail...

Using yarn and npm for publishing npm packages

Setting up the pre-release version of the npm package NPM Registry allows developers to publish pre-release versions ...

Best way to get the current date and time in JavaScript

In this article, we will learn how to get the current date and time in JavaScript.

Best way to get the full URL or query string of current page in JavaScript.

In this article, we will discuss the best way to get the full URL or query string of current page in JavaScript. We w...

Best way to check if an element is hidden or visible in JavaScript

In this article, we will learn how to check if an element is hidden or visible in JavaScript.

What is web workers & it's implements in JavaScript?

What is web workers? Web workers are a simple means for web content to run scripts in background threads. The worker ...

What skills makes a good front-end developer 2022?

A good front end developer should focus on fundamentals of functional and object oriented programming because they ar...

Best way to check if a string contains a specific word or substring in JavaScript

In this article, we will discuss the best way to check if a string contains a specific word or substring in JavaScrip...

Best way to redirect to another webpage in JavaScript.

If you want to redirect to another webpage in JavaScript, you can use the following methods: Method 1: Redirect to A...

Auto play video in electron app with sound using HTML 5 video element

Configuring HTML 5 video element to play video in electron app with sound.

Eslint configuration guide for ReactJS project with VSCode.