The way to write your code

useReducer in React Hook - Clue Mediator

useReducer in React Hook

Today we will show you how to use useReducer in React Hook. useReducer is a hook that is used for state management in React. The useState is built using the...

Delete all commit history in GitHub - Clue Mediator

Delete all commit history in GitHub

Today we’ll show you how to delete all commit history in GitHub. It’s a very small but useful article to delete all commit history of the branch and create a...

Confirm a stripe paymentIntent using Node.js - Clue Mediator

Confirm a stripe paymentIntent using Node.js

This is the second article where we will confirm a stripe paymentIntent using Node.js. We have integrated the stripe payment gateway in React and created the demo of the checkout...

Integrate stripe payment gateway in React - Clue Mediator

Integrate stripe payment gateway in React

Today we’ll explain to you how to integrate stripe payment gateway in React. We will split this integration in the two parts such as React (Frontend) and Node.js (Backend). In...

How to validate password strength in PHP - Clue Mediator

How to validate password strength in PHP

Today, we’ll explain to you how to validate password strength in PHP. It is very useful to check that the password is strong which protects the user accounts and prevents...

How to get a file extension in PHP - Clue Mediator

How to get a file extension in PHP

Today we’ll explain to you how to get a file extension in PHP. Getting a file extension is very useful for validating a file or file upload. Here, we’ll show...

Generate a random password in React - Clue Mediator

Generate a random password in React

In this short article, we’ll show you how to generate a random password in React. Here, we will create a small demo to generate a random password with different options...

How to save an image from a URL in PHP - Clue Mediator

How to save an image from a URL in PHP

Today we’ll explain to you how to save an image from a URL in PHP. Sometimes we need to download images from a remote server and use them in projects....