JSX has nothing to do with HTML. It only resembles it. JSX is just a syntactic sugar for plain JavaScript functions. It is also optional. And as we look at packages like react-native, react-art, react-canvas, and react-three, it's become also clear that the beauty and essence of React has nothing to do with browsers or the DOM.