1. React Dom:
There are five basic types of react-dom. The
react-dom package provides DOM-specific methods that can be used at the top level of your app and as an escape hatch to get outside of the React model if you need to. Most of your components should not need to use this module. such as
2. React render() Method
React render() given that three-parameter. such as
3. callback function
element: a component in the new value or future added that means element
container: container means where I showed value or element in the component
callback function: element and container are output after called callback function.
ReactDOM.render(element, container[, callback])
3.React FindDOMNode() method
findDOMNode() is an escape hatch used to access the underlying Dom-node.
When a component renders to
null. When a component renders to a string,
findDOMNode returns a text DOM node containing that value