How does the browser remember that space has to be inserted between both span element to show Hello World without having any information about it inside the markup
const element = React.createElement('div',{
children:[
React.createElement('span',null,'Hello'),
' ',
React.createElement('span',null,'Hello')
]
})
But when I saw the mark-up which was rendered in the markup was
<div>
<span>Hello</span>
<span>World</span>
</div>