The way to write your code

Reverse a String in JavaScript - Clue Mediator

Reverse a String in JavaScript

In the technical round of the interview, reversing a string is one of the most often asked JavaScript questions. Interviewers may ask you to write different ways to reverse a...

Sticky element on a scroll in React - Clue Mediator

Sticky element on a scroll in React

If you want to add a sticky div or paragraph on page scroll then today we will show you how to add a sticky element on a scroll in React....

How to use async functions in useEffect - Clue Mediator

How to use async functions in useEffect

The useEffect is the place where we mostly write code to get data. Data fetching is an asynchronous function so we can not use async/await in straightforward ways. In this...