The way to write your code

How to enable CORS in Node.js - Clue Mediator

How to enable CORS in Node.js

Today we’ll show you how to enable CORS in Node.js. Most of the beginners are facing the CORS issue while they are working with API creation and access it through...

Upload image using PHP - Clue Mediator

Upload image using PHP

Mostly, we need to upload images during the development of a php website. So, today we will explain to you an easy way to upload image using php. PHP File...

Embed YouTube video in ReactJS - Clue Mediator

Embed YouTube video in ReactJS

Today we’ll show you how to embed YouTube video in ReactJS application. In this article, we’ll use the react-player npm package to embed the YouTube video. You can also embed...

How to play a mp3 file in ReactJS - Clue Mediator

How to play an mp3 file in ReactJS

Today we’ll show you how to play an mp3 file in ReactJS. In this short article, we’ll create an example to play an mp3 sound file in React.js. How to...

How to reset the state of a Redux store - Clue Mediator

How to reset the state of a Redux store

Today we’ll show you how to reset the state of a Redux store in React JS. Sometimes you might need to reset the whole store based on the given action...