React.Js Lifecycle Methods
In React, a component goes through different phases in its lifecycle, and at certain points in each phase, React will call specific methods on the component. These methods are known as lifecycle methods. componentDidMount(), componentDidUpdate(prevProps, prevState), componentWillUnmount(), shouldComponentUpdate(nextProps, nextState)
What is componentDidMount and useEffect with Example
componentDidMount() is a lifecycle method in React that is called after a component has been added to the DOM. useEffect is a Hook in React that allows you to synchronize a component with an external system. It serves a similar purpose as componentDidMount(), componentDidUpdate(), and componentWillUnmount() lifecycle methods combined.
React Hook To Check If User Has Changed/Minimize the Browser Tab
Today we will learn how to develop a Custom React-Js hook to determine whether the user has changed the browser tab or minimized the browser window. This hook will work for Chrome, Opera, Firefox, Edge, Safari etc…
Get User Device Screen Information using React Js Hook. Hello Readers… In this article, we will learn how to create our own hook for react […]
Find and return the sum of missing and duplicate number – Easy Code
The input “nums” is supposed to be an array of unique integers ranging from 1 to nums.length. However there is a mistake: one of the […]
The Fibonacci sequence/series is a set of numbers that starts with a one (1) or a zero (0), followed by a one, and proceeds based on the rule that each number is equal to the sum of the preceding two numbers. If the Fibonacci sequence is denoted F (n), where n is the first term in the sequence, the following equation obtains for n = 0, where the first two terms are defined as 0 and 1 by convention:
Find out if you can reach the last tile – Program Code
There are a number of tiles on the floor, each numbered with a different non-negative integer. Treat this set of tiles as an array. You […]
Download any paid Software. Get any software free for lifetime
In this article, we will discuss about how to download cracked software. Most of the people in this world want to try new software but […]
10 React Js Common Packages That Helps You In Your Projects
In this article, we will discuss some common react Js packages. These packages can also help you in many different ways.
Fix Grub Problem – Grub Not Showing – Dual Boot Problem Ubuntu with Windows 10
how to fix it and bring the Grub menu back. Fix GRUB not showing during boot problem in Windows. the steps are equally valid for Windows 8 and 8.1. Similarly, I’m using Ubuntu in dual boot here, but the trick applies to all other Linux distributions such as Linux Mint, etc.
World’s Top 10 Most Popular Indian Brands
In the world there are so many people who likes to buy expensive things. These types of people mainly like to use popular and expensive things. In India, there are also so many people who loved to buy premium things. Many people in India thinks that only international brands are big and good for them, so they do not trust Indian brands.
Upload WordPress Plugins and Themes Using FTP
Create FTP account from cPanel and get the login information. Now connect to the server using any FTP software like File Zilla. Download the zip file of the plugin or theme. A zip file of plugin or theme can be downloaded from WordPress.org