Is the ReactDOM library built into the React library?

Question

Is the ReactDOM library built into the React library?

Answer

ReactDOM is not included in the generic React library. When we include the generic React library as a <script> tag in our HTML we will also have to include a <script> tag for the ReactDOM library if we want to use ReactDOM.

7 Likes

Please also give example.

1 Like

Please provide an example or a link to an example having ReactDOM lib in Html .

A simple search on google yielded some excellent examples:

https://reactjs.org/docs/cdn-links.html

2 Likes