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.
render() unmountComponentAtNode() findDOMNode()
Use of render
ReactDOM.render( element, container, [callback] )
- Render a React element into the DOM in the supplied container and return a reference to the component (or returns null for stateless components).
- If the React element was previously rendered into container, this will perform an update on it and only mutate the DOM as necessary to reflect the latest React element.
- If the optional callback is provided, it will be executed after the component is rendered or updated.
Such an amazing blog with new updates. I love to learn more about this topic. Waiting for more like this.
ReplyDeleteReactJS Training in Chennai
ReactJS course in Chennai
ReactJS Training
AngularJS Training in Chennai
PHP Training in Chennai
Web Designing course in Chennai
Ethical Hacking course in Chennai
ReactJS Training in Velachery
ReactJS Training in T Nagar
ReactJS Training in OMR