in React JS by
Q:

What is ReactDOM and what is the difference between ReactDOM andReact?

1 Answer

0 votes
by

ReactDOM is the glue between React and the DOM. Often, we will only use it for one single thing: mounting with ReactDOM. Another useful feature of ReactDOM is ReactDOM.findDOMNode() which we can use to gain direct access to a DOM element.

For everything else, there’s React. We use React to define and create our elements, for lifecycle hooks, etc. i.e. the guts of a React application

Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
asked Mar 1, 2020 in React JS by RShastri
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
asked May 20, 2020 in React JS by GeorgeBell
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
...