Skip to content

Tag Archives: React-Hooks

We are going to make a react custom hook for generating random colors. Pre-requisite: React.js React Hooks Approach: Basically, if we are familiar with React… Read More
In ReactJS we have a useState Hook this hook is used to declare a state variable inside a function. It should be noted that one… Read More
The useCallback, useMemo, and useEffect are a way to optimize the performance of React-based applications between rerendering of components. These functions provide some of the… Read More
How we can use the useState hook in React? The useState is an API/Hook introduced in the recent versions of React. As it is a… Read More
In this article, we are going to learn how to create a translucent text input in ReactJS. Prerequisites: Knowledge of JavaScript (ES6) Knowledge of HTML/CSS.… Read More
The useImperativeHandle hook works in the similar phase of useRef hook but only it allows us to modify the instance that is going to be… Read More
The useCallback hook is used when you have a component in which the child is rerendering again and again without need. Pass an inline callback… Read More
In our React app sometimes we want to access the parameters of the current route in this case useParams hook comes into action. The react-router-dom… Read More
React-Router is a popular React library that is heavily used for client-side routing and offers single-page routing. It provides various Component APIs( like Route, Link,… Read More
Hooks are newly added in React 16.8. They let you use state and other React features without writing a class, for example, the state of… Read More

Start Your Coding Journey Now!