A functional component in React is a JavaScript function that returns a React element, which is an object that describes a part of the UI. Functional components are also known as “stateless” components because they do not have a state. A class component in React is a JavaScript class that extends React.Component class. It has a state, which can be used to store the data that the component needs to render.
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…
Spread Operator and Rest Parameters in JavaScript
Spread operator in JavaScript was introduced in ES6. The syntax of the spread operator is 3 dots. The spread operator allows us to spread out the elements of an iterable object such as an Array, Map, or Set. Rest parameter in javascript allows us to handle multiple parameters in any function. We can pass an indefinite number of parameters to any function. By the use of the rest parameter, we can call a function with any number of arguments.
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.
Encrypt Javascript and CSS Code – Hide Original Code from Users
how we can encrypt our code and prevent users from viewing the original code. Encryption of javascript code is required when we don’t want to share our code. To read the encrypted code, the person must decrypt the code first.
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.
Record Android Phone Audio With Audacity
In this article, you will learn about the Internal sound recording of smartphones using audacity application. We will explain every step from the start to the end. Audacity is a windows OS application. It is used to record and edit audio. Audacity is also available for macOS and Linux.
Record Android Phone Screen With ADB – Without Any App
Record phone screen using ADB. To record your screen you just need two things like a Computer or a Laptop and a USB cable. Before we start, you need to enable the USB debugging from Developer Options on your android phone.
FAU-G – Alternative game to PUBG Mobile
FAU-G | An Indian rival game to PUBG Mobile FAU-G game is being developed under the mentorship of Bollywood actor Akshay Kumar. nCore Games, based […]
How to remove invalid SSL Certificates from cPanel – Easy Steps
In this article, you will learn how to remove the invalid SSL certificates from the cPanel. Please follow the below steps to remove or delete […]
C Class – Shakti Micro Processor – Architecture and Basic Specs
Shakti – C Class Processor C Class : The C Class is a controller class of processors, aimed at mid-range application workloads. The core is a […]
Shakti (Micro Processor) – The Advanced Micro Processor By India
Shakti Micro Processor Basic Introduction : SHAKTI is an open-source initiative by the RISE group at IIT-Madras, which is not only building open source, production grade processors, but also […]
Google Fuchsia OS – Features
Fuchsia OS Android and Chrome OS may be Google’s best-known software ventures, but the company is actually working on a third operating system. It’s called Fuchsia, and […]
Fingerprint Encrypted USB Drive – 32 GB / 64 GB
EAGET FU5 Fingerprint Encryption USB Flash Drive Eaget FU5 USB Pendrive is a highly secured USB Drive. It is secured with fingerprint. This helps to […]