Jsx and Virtual Domby Sai gowtham1min read
let hello = <h1>Hello World</h1>
When it runs through the babel it converts into
var hello = React.createElement('h1', null, 'Hello World')
- Virtual dom means, not a real dom.
- React uses the Virtual dom behind the scenes to create and mutate the real dom elements based on the virtual dom object.