Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Category : React Js

React (JavaScript library) In computing, React (also known as React.js or ReactJS) is a JavaScript library for building user interfaces.
It is maintained by Facebook and a community of individual developers and companies.
React can be used as a base in the development of single-page or mobile applications.

Question
The super keyword is used to call the constructor of its parent class.This is required when we need to access some variables of its parent class(and call functions on an object’s parent).
3 years 5 views

Question
Conditional rendering in React works the same way conditions work in JavaScript.Use JavaScript operators like if or the conditional operator to create elements representing the current state, and let React update the UI to match them.Using conditional statements ...
3 years 16 views

Question
Children's props are used to pass components to other components as properties.You can access it by using {props. children} The children, in React, refer to the generic box whose contents are unknown until they’re passed ...
3 years 11 views

Question
Prior to React 15.5.0, a utility named PropTypes was available as part of the React package, which provided a lot of validators for configuring type definitions for component props. It could be accessed with React.PropTypes.
3 years 16 views

Question
Refs are created using React.createRef().Refs are attached to input elements using the ref attribute on the element inquestion.Refs are often used as instance properties on a component. The ref is set in the constructor (as shown above) and ...
3 years 9 views

Question
The biggest difference between React pure component vs a regular React component is that a React component doesn’t implement shouldComponentUpdate() by default. On the other hand, React pure component does implement shouldComponentUpdate() by default, and by performing a ...
3 years 25 views