Core React Concept: JSX
Hello Fellow Codenewbies ๐,
Say we want to create an element in DOM that has not existed yet and append it to a <div> with an id called root.
Then this is what we would do in vanilla Javascript:
HTML:
<body>
<div id="root"></div>
</body>
Javascr...
adiati.com3 min read