HighRadius interview question

How is react connected to HTML / how does react render on the browser?

Interview Answer

Anonymous

8 Aug 2022

React internally creates, updates, and destroys instances to figure out the DOM elements tree that needs to be rendered to the browser. Codes in react get parsed by babel and then rendered in HTML where it is connected via the div of class = "root"