Skip to content

Tag Archives: react-js

You might have heard the saying, Hard-work is the key to success, which might have been relative in the past, but now the scenario has… Read More
When we work on a project having Django as our Back-end and having a powerful front-end using React, the development setup takes a significant amount… Read More
Prerequisite: ReactJs, State, Props Lifting up the State: As we know, every component in React has its own state. Because of this sometimes data can… Read More
React Developer Tools is a Chrome DevTools extension for the React JavaScript library. A very useful tool, if you are working on React.js applications. This… Read More
An onChange event is triggered when values are entered in the input. This fires a function handleChange(), that is used to set a new state… Read More
ReactJS has a very beautiful way to align images and text vertically in the same line in React Bootstrap. ReactJS is a front-end library developed… Read More
We can update a React hooks state object that has a nested object containing objects with index keys with the following approach, Before doing so,… Read More
The getDerivedStateFromError() method is invoked if some error occurs during the rendering phase of any lifecycle methods or any children components. This method is used… Read More
The componentDidCatch() method is invoked if some error occurs during the rendering phase of any lifecycle methods or any children components. This method is used… Read More
WordPress+ React Starter Kit Meet Post light’s WordPress + React Starter Kit, a free, zero-to-saint toolbox for architects and item hobbyists who need to evaluate… Read More
Password must be strong so that hackers can not hack them easily. The following example shows how to check the password strength of the user… Read More
When developing any project we must host it somewhere so that the whole world can see our hard-work. Hosting websites can be hectic sometimes, but… Read More
We can conditionally add attributes to React components with the following approaches: Approach 1:  Evidently, with some attributes, React is smart enough to omit the… Read More
The useEffect runs by default after every render of the component. When placing useEffect in our component we tell React that we want to run… Read More
Setting focus on an input field after rendering in ReactJS can be done in the following ways, but before doing that, set up your project… Read More