List down some of the methods in a react-dom package
Important methods for react-dom packages are: render() hydrate() createPortal() unmountComponentAtNode() findDOMNode()
Important methods for react-dom packages are: render() hydrate() createPortal() unmountComponentAtNode() findDOMNode()
This props.children allow you to pass a component as data to other components.
Controlled components are component which controls the input elements.
createElement is used by react to create react elements. cloneElement is used to clone an element and pass it new props.
You can use fragment keyword to group a list of children components without using any extra nodes to the DOM. For example : render() { return ( ); }
React hooks allows you to use State, and other React features without writing a class.
‘Prop-types’ library allows you to perform runtime type checking for props and similar object in a recent application.
The process of attaching the element to the DCOM is called mounting. The process of detaching the element from the DCOM is called the demounting process.
It is not possible to update the value of props as it is immutable.
Restructuring is extraction process of array objects. Once the process is completed, you can separate each object in a separate variable.