Ashwani Singh

Ashwani Singh @imashwani

About: Software developer

Location:
India
Joined:
Feb 5, 2024

Ashwani Singh
articles - 16 total

XMLHttpRequest has been blocked by CORS policy:

Error "Access to XMLHttpRequest at 'http://localhost:5001/auth/register' from origin...

Learn More 7 1Mar 2

Time complexity

O(1) (in the worst case): Given the page that a business's name is on and the business name, find the...

Learn More 0 0Jan 3

LeetCode Solutions (DSA)

1. LeetCode Solutions (DSA) - Two Sum 1. Two Sum Given an array of integers...

Learn More 0 0Jan 3

Let’s solve the error of GROUP BY clause and contains nonaggregated column in MySQL

SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); Enter...

Learn More 0 0Jun 28 '24

Higher Order Components (HOC) in React js

A Higher-Order Component (HOC) is an advanced technique for reusing component logic. HOCs are not...

Learn More 6 0Jun 7 '24

Error Boundary in React js

In React, an Error Boundary is a component that helps catch JavaScript errors anywhere in their child...

Learn More 1 0Jun 1 '24

What are portals in React and when do we need them ?

In React 16.0 version, React portals were introduced. Portals in React come up with a way to render...

Learn More 7 0May 31 '24

Extract Array of object data in MySql DB

// your_column = [{id: 1, name: "Tom", age: 30}]; SELECT * FROM your_table WHERE...

Learn More 0 0May 29 '24

JavaScript Data Types

1. Introduction Computer programs generally deal with a lot of data. This data can be one...

Learn More 6 0Apr 2 '24

JavaScript Non-Primitive Data Types

Non-Primitive data types Non-primitive data types in JavaScript are derived from the...

Learn More 10 2Apr 2 '24

JavaScript Primitive Data Types

In JavaScript, primitive data types are the predefined data types provided by the language itself....

Learn More 7 2Apr 1 '24

Integrating Nodemailer in a Node.js Project

Integrating Nodemailer in a Node.js Project To integrate Nodemailer in a Node.js project,...

Learn More 5 0Mar 19 '24

Rules for naming variables in JavaScript

1. Rules for naming variables Almost all programming languages enforce certain rules on...

Learn More 16 3Mar 12 '24

Understanding Hoisting in JavaScript

What is Hoisting Hoisting is a JavaScript mechanism where variables and function...

Learn More 6 0Mar 8 '24

List of Free API's

Web Apps https://discord.com/developers/docs/intro https://api.slack.com Open...

Learn More 7 0Mar 2 '24

Git Branches: List, Create, Switch to, Merge, Push, & Delete

git cheatSheet See What Branch You're On git status Enter fullscreen mode ...

Learn More 7 0Feb 13 '24