Skip to content

Tag Archives: ReactJS-Basics

The useState hook is used to update the state in a React component. It is a hook that takes the initial state as an argument… Read More
The forwardRef method in React allows parent components to move down (or “forward”) refs to their children. ForwardRef gives a child component a reference to… Read More
All the React components can have a state associated with them. The state of a component can change either due to a response to an… Read More
ReactJS Accessibility: Accessibility is the necessary tool or ways in which a website can be made easy to access by the user with features like… Read More
The Render Props is a  technique in ReactJS for sharing code between React components using a prop whose value is a function. Child component takes… Read More
Themes are very essential in a web application as they provide a consistent tone throughout the application. It is used to control and set values… Read More
Higher-order components or HOC is the advanced method of reusing the component functionality logic. It simply takes the original component and returns the enhanced component.… Read More
JSX: Consider the following code snippet, const sample = <h2>Greetings</h2>; The above code snippet somewhat looks like HTML, and it also uses a JavaScript-like variable… Read More
Error Boundaries: Error Boundaries basically provide some sort of boundaries or checks on errors, They are React components that are used to handle JavaScript errors… Read More
React is not a framework. It is just a library developed by Facebook to solve some problems that we were facing earlier. Learning any new… Read More