How to Store a logged-in User Information in Local Storage in React JS
In React, localStorage is the browser's database. The data is stored inside your browser in your computer's local storage. localStorage
What Is “Lifting State Up” in React?
React Lifting state up is a common pattern that is required for web developers to know. It helps to avoid
What is HOC component in react
A higher-order component (HOC)is a
Uncontrolled components in React Js
In most of the cases, we recommend using controlled components to implement forms. In a controlled components, form data is
setInterval in React Components Using Hooks
The Window object in JS(JavaScript) allows us to perform code at specified intervals. It provides us with 2 keys methods
Passing Arguments to Event Handler in React
Most of the time, we may require to pass arguments to our event handler. How can we do this in
How do you conditionally render components in React JS
The Conditional rendering in React works the same way conditions work in JS(JavaScript). Use JS(JavaScript) operators like if or the
How to Memoize Components in React
Using React.memo, and useMemo other APIs to limit re-rendering of react componentsMemoizing: First port of call for performance optimisation.The Memoizing
Lazy loading React components
What is lazy loading? The Lazy loading is a one of the design pattern for optimizing mobile applications and web applications.
Content security policy in React app didn’t block online script
Actually you don't need a Package to achieve that, you can just add a <meta> tag as your first element